mirror of
https://github.com/taoneill/war.git
synced 2024-11-26 20:26:29 +01:00
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:
parent
4c65c18aea
commit
00ff23d33d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user