mirror of
https://github.com/taoneill/war.git
synced 2025-01-05 07:17:34 +01:00
Highest priority for death event handler
Just to see if this can help @shankomaster's problem with missing loadouts upon respawn.
This commit is contained in:
parent
6304b39fc8
commit
b6d1ea2c90
@ -559,7 +559,7 @@ public class WarEntityListener implements Listener {
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
@EventHandler(priority = EventPriority.HIGHEST)
|
||||
public void onEntityDeath(final EntityDeathEvent event) {
|
||||
if (!War.war.isLoaded() || !(event.getEntity() instanceof Player)) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user