Allow tool use when the interact event is cancelled

This commit is contained in:
Brokkonaut
2019-03-06 04:23:19 +01:00
parent 8b1ee254b4
commit 87c09766d3

View File

@@ -31,7 +31,7 @@ public class ToolListener implements Listener {
handler = logblock.getCommandsHandler();
}
@EventHandler(ignoreCancelled = true)
@EventHandler
public void onPlayerInteract(PlayerInteractEvent event) {
if (event.getMaterial() != null) {
final Action action = event.getAction();