Merge pull request #580 from boy0001/revert-577-master

Revert "Nukkit 1.1 Fix"
This commit is contained in:
Jesse Boyd 2017-06-09 17:11:24 +10:00 committed by GitHub
commit a2b7237342

View File

@ -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<Object> fp = FawePlayer.wrap(nukkitPlayer);