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:
parent
25069adb0e
commit
8760ad69bc
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user