Fixes armor transfer from one class to another.

While respawning and if respawntime set to a long value you can steal your current class armor and it will not switch on next.
This commit is contained in:
Master-chan 2014-04-06 09:42:50 +06:00
parent 4c65c18aea
commit 00ff23d33d

View File

@ -444,6 +444,10 @@ public class Warzone {
player.setFlying(false);
player.getInventory().clear();
player.getInventory().setHelmet(null);
player.getInventory().setChestplate(null);
player.getInventory().setLeggings(null);
player.getInventory().setBoots(null);
this.setKillCount(player.getName(), 0);