Merge pull request #355 from sk89q/bugfix/brushing-up

Replace RightClickEmpty with RightClickItem.
This commit is contained in:
Kenzie Togami 2016-05-20 10:58:14 -07:00
commit 61ecb8fe94

View File

@ -196,7 +196,7 @@ public class ForgeWorldEdit {
if (we.handleRightClick(player)) {
event.setCanceled(true);
}
} else if (event instanceof PlayerInteractEvent.RightClickEmpty) {
} else if (event instanceof PlayerInteractEvent.RightClickItem) {
if (we.handleRightClick(player)) {
event.setCanceled(true);
}