mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 21:56:33 +01:00
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) {
|
public void onPlayerInteract(final PlayerInteractEvent event) {
|
||||||
Player nukkitPlayer = event.getPlayer();
|
Player nukkitPlayer = event.getPlayer();
|
||||||
if (nukkitPlayer.isSneaking()) {
|
if (nukkitPlayer.isSneaking()) {
|
||||||
if (event.getAction() == PlayerInteractEvent.PHYSICAL) {
|
if (event.getAction() == PlayerInteractEvent.Action.PHYSICAL) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
FawePlayer<Object> fp = FawePlayer.wrap(nukkitPlayer);
|
FawePlayer<Object> fp = FawePlayer.wrap(nukkitPlayer);
|
||||||
|
Loading…
Reference in New Issue
Block a user