mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Merge pull request #355 from sk89q/bugfix/brushing-up
Replace RightClickEmpty with RightClickItem.
This commit is contained in:
commit
61ecb8fe94
@ -196,7 +196,7 @@ public class ForgeWorldEdit {
|
|||||||
if (we.handleRightClick(player)) {
|
if (we.handleRightClick(player)) {
|
||||||
event.setCanceled(true);
|
event.setCanceled(true);
|
||||||
}
|
}
|
||||||
} else if (event instanceof PlayerInteractEvent.RightClickEmpty) {
|
} else if (event instanceof PlayerInteractEvent.RightClickItem) {
|
||||||
if (we.handleRightClick(player)) {
|
if (we.handleRightClick(player)) {
|
||||||
event.setCanceled(true);
|
event.setCanceled(true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user