From 7b9e14c7f5a50e6033af7f95a048f0ea29e339df Mon Sep 17 00:00:00 2001 From: Goodstuff4UonYT Date: Thu, 8 Jun 2017 23:07:59 +0200 Subject: [PATCH] Nukkit 1.1 Fix --- .../java/com/boydti/fawe/nukkit/listener/BrushListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nukkit/src/main/java/com/boydti/fawe/nukkit/listener/BrushListener.java b/nukkit/src/main/java/com/boydti/fawe/nukkit/listener/BrushListener.java index 50abe07d..ec389007 100644 --- a/nukkit/src/main/java/com/boydti/fawe/nukkit/listener/BrushListener.java +++ b/nukkit/src/main/java/com/boydti/fawe/nukkit/listener/BrushListener.java @@ -76,7 +76,7 @@ public class BrushListener implements Listener { public void onPlayerInteract(final PlayerInteractEvent event) { Player nukkitPlayer = event.getPlayer(); if (nukkitPlayer.isSneaking()) { - if (event.getAction() == PlayerInteractEvent.PHYSICAL) { + if (event.getAction() == PlayerInteractEvent.Action.PHYSICAL) { return; } FawePlayer fp = FawePlayer.wrap(nukkitPlayer);