mcMMO now ignores cancelled events for PlayerInteractEvent

This commit is contained in:
nossr50
2019-01-31 12:56:15 -08:00
parent 039542f125
commit 0193b53988
2 changed files with 2 additions and 2 deletions

View File

@ -583,7 +583,7 @@ public class PlayerListener implements Listener {
*
* @param event The event to monitor
*/
@EventHandler(priority = EventPriority.MONITOR)
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void onPlayerInteractMonitor(PlayerInteractEvent event) {
/* WORLD BLACKLIST CHECK */
if(WorldBlacklist.isWorldBlacklisted(event.getPlayer().getWorld()))