From ffa88cc545b1e72119d902a151aa77a94fedc8a8 Mon Sep 17 00:00:00 2001 From: garbagemule Date: Tue, 6 May 2014 01:17:52 +0200 Subject: [PATCH] Move scoreboard death() call for consistency. --- src/com/garbagemule/MobArena/ArenaImpl.java | 1 - src/com/garbagemule/MobArena/ArenaListener.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/garbagemule/MobArena/ArenaImpl.java b/src/com/garbagemule/MobArena/ArenaImpl.java index 6d2aec9..b898568 100644 --- a/src/com/garbagemule/MobArena/ArenaImpl.java +++ b/src/com/garbagemule/MobArena/ArenaImpl.java @@ -654,7 +654,6 @@ public class ArenaImpl implements Arena if (arenaPlayers.contains(p)) { unmount(p); clearInv(p); - scoreboard.death(p); } removeClassPermissions(p); diff --git a/src/com/garbagemule/MobArena/ArenaListener.java b/src/com/garbagemule/MobArena/ArenaListener.java index 970adc0..e468658 100644 --- a/src/com/garbagemule/MobArena/ArenaListener.java +++ b/src/com/garbagemule/MobArena/ArenaListener.java @@ -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); } }