Arnuh / EchoPet

Adds pets to your Minecraft Server!
GNU General Public License v3.0
25 stars 12 forks source link

Selector correction #62

Open charlyg31 opened 4 years ago

charlyg31 commented 4 years ago

Please add if (event.isShiftClick() || event.getClick() == ClickType.DOUBLE_CLICK || event.getClick() == ClickType.DROP || event.getAction() == InventoryAction.MOVE_TO_OTHER_INVENTORY) event.setCancelled(true); in eventhandler InventoryClickEvent

Arnuh commented 4 years ago

What does this even fix

charlyg31 commented 4 years ago

Fix for: https://github.com/Arnuh/EchoPet/issues/52

Arnuh commented 4 years ago

I guarantee this check wont work properly without something not included. We already fully cancel InventoryClickEvent in Robert and EchoPet if it matches an inventory managed by either of them.