1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

Made requested changes.

This commit is contained in:
dNiym 2019-08-26 18:12:08 -04:00
parent 2b680ec88e
commit 07234cf246

View File

@ -103,7 +103,7 @@ public class ItemListener implements Listener {
*/
@EventHandler
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;
ItemStack item = e.getItem();