Nukkit 1.1 Fix
This commit is contained in:
parent
6554370b57
commit
7b9e14c7f5
@ -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<Object> fp = FawePlayer.wrap(nukkitPlayer);
|
||||
|
Loading…
Reference in New Issue
Block a user