mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-01 12:20:59 +02:00
Cancel early, not late
This commit is contained in:
@@ -164,7 +164,7 @@ public class Essentials extends JavaPlugin implements IEssentials
|
||||
pm.registerEvent(Type.PLAYER_EGG_THROW, playerListener, Priority.High, this);
|
||||
pm.registerEvent(Type.PLAYER_BUCKET_EMPTY, playerListener, Priority.High, this);
|
||||
pm.registerEvent(Type.PLAYER_ANIMATION, playerListener, Priority.High, this);
|
||||
pm.registerEvent(Type.PLAYER_BED_ENTER, playerListener, Priority.High, this);
|
||||
pm.registerEvent(Type.PLAYER_BED_ENTER, playerListener, Priority.Lowest, this);
|
||||
|
||||
final EssentialsBlockListener blockListener = new EssentialsBlockListener(this);
|
||||
pm.registerEvent(Type.BLOCK_PLACE, blockListener, Priority.Lowest, this);
|
||||
|
Reference in New Issue
Block a user