mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-23 11:06:14 +01:00
Move scoreboard death() call for consistency.
This commit is contained in:
parent
8f95745b50
commit
ffa88cc545
@ -654,7 +654,6 @@ public class ArenaImpl implements Arena
|
||||
if (arenaPlayers.contains(p)) {
|
||||
unmount(p);
|
||||
clearInv(p);
|
||||
scoreboard.death(p);
|
||||
}
|
||||
|
||||
removeClassPermissions(p);
|
||||
|
@ -463,6 +463,7 @@ public class ArenaListener
|
||||
} else if (arena.inSpec(player)) {
|
||||
event.getDrops().clear();
|
||||
event.setDroppedExp(0);
|
||||
arena.getScoreboard().death(player);
|
||||
arena.playerLeave(player);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user