Revert "Nukkit 1.1 Fix"
This commit is contained in:
parent
da3f1eabda
commit
c1b59440b6
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user