Allow tool use when the interact event is cancelled
This commit is contained in:
1 parent
8b1ee254b4
commit
87c09766d3
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user