Revert "Nukkit 1.1 Fix"

This commit is contained in:
Jesse Boyd 2017-06-09 17:11:12 +10:00 committed by GitHub
parent da3f1eabda
commit c1b59440b6
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ public class BrushListener implements Listener {
public void onPlayerInteract(final PlayerInteractEvent event) { public void onPlayerInteract(final PlayerInteractEvent event) {
Player nukkitPlayer = event.getPlayer(); Player nukkitPlayer = event.getPlayer();
if (nukkitPlayer.isSneaking()) { if (nukkitPlayer.isSneaking()) {
if (event.getAction() == PlayerInteractEvent.Action.PHYSICAL) { if (event.getAction() == PlayerInteractEvent.PHYSICAL) {
return; return;
} }
FawePlayer<Object> fp = FawePlayer.wrap(nukkitPlayer); FawePlayer<Object> fp = FawePlayer.wrap(nukkitPlayer);