From c1b59440b67a1af324754ab2f1408e17d4643832 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Fri, 9 Jun 2017 17:11:12 +1000 Subject: [PATCH] Revert "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 ec389007..50abe07d 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.Action.PHYSICAL) { + if (event.getAction() == PlayerInteractEvent.PHYSICAL) { return; } FawePlayer fp = FawePlayer.wrap(nukkitPlayer);