change priority of some denial events to LOWEST

Thanks to OliPulse in IRC, we discovered some events at the wrong
priority in GP.
This commit is contained in:
RoboMWM 2020-02-02 13:30:56 -08:00
parent 25069adb0e
commit 8760ad69bc
2 changed files with 3 additions and 3 deletions

View File

@ -171,7 +171,7 @@ public class BlockEventHandler implements Listener
}
//when a player places multiple blocks...
@EventHandler(ignoreCancelled = true, priority = EventPriority.HIGHEST)
@EventHandler(ignoreCancelled = true, priority = EventPriority.LOWEST)
public void onBlocksPlace(BlockMultiPlaceEvent placeEvent)
{
Player player = placeEvent.getPlayer();
@ -202,7 +202,7 @@ public class BlockEventHandler implements Listener
//when a player places a block...
@SuppressWarnings("null")
@EventHandler(ignoreCancelled = true, priority = EventPriority.HIGH)
@EventHandler(ignoreCancelled = true, priority = EventPriority.LOWEST)
public void onBlockPlace(BlockPlaceEvent placeEvent)
{
Player player = placeEvent.getPlayer();

View File

@ -1306,7 +1306,7 @@ public class EntityEventHandler implements Listener
}
//when a splash potion effects one or more entities...
@EventHandler(ignoreCancelled = true, priority = EventPriority.HIGHEST)
@EventHandler(ignoreCancelled = true, priority = EventPriority.LOWEST)
public void onPotionSplash (PotionSplashEvent event)
{
ThrownPotion potion = event.getPotion();