Change the priority of the crop trampling to be called first so it
cancels the event before any other interact event gets it.
This commit is contained in:
		| @@ -207,7 +207,7 @@ public class ProtectionListener implements Listener { | ||||
| 		} | ||||
| 	} | ||||
| 	 | ||||
| 	@EventHandler(ignoreCancelled=true) | ||||
| 	@EventHandler(ignoreCancelled=true, priority = EventPriority.LOWEST) | ||||
| 	public void cropTramplingProtection(PlayerInteractEvent event) { | ||||
| 		//First thing is first, let's be sure the player we're dealing with is in jail | ||||
| 		if(pl.getJailManager().isPlayerJailed(event.getPlayer().getName())) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 graywolf336
					graywolf336