mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 11:45:51 +00:00
Made requested changes.
This commit is contained in:
parent
2b680ec88e
commit
07234cf246
@ -103,7 +103,7 @@ public class ItemListener implements Listener {
|
|||||||
*/
|
*/
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void enabledCheck(PlayerInteractEvent e) {
|
public void enabledCheck(PlayerInteractEvent e) {
|
||||||
if(e.getAction() == Action.RIGHT_CLICK_AIR || e.getAction() == Action.RIGHT_CLICK_BLOCK)
|
if(e.getAction() != Action.LEFT_CLICK_AIR && e.getAction() != Action.LEFT_CLICK_BLOCK)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ItemStack item = e.getItem();
|
ItemStack item = e.getItem();
|
||||||
|
Loading…
Reference in New Issue
Block a user