Fix stupid typo.
parent
43aee539c4
commit
12216e6e7e
|
@ -21,7 +21,7 @@ public class ArmorStandSwappingHandler implements Listener {
|
||||||
|
|
||||||
if (standEquipment != null && playerEquipment != null) {
|
if (standEquipment != null && playerEquipment != null) {
|
||||||
ItemStack playerHelmet = playerEquipment.getHelmet();
|
ItemStack playerHelmet = playerEquipment.getHelmet();
|
||||||
ItemStack playerChestpalte = playerEquipment.getChestplate();
|
ItemStack playerChestplate = playerEquipment.getChestplate();
|
||||||
ItemStack playerLeggings = playerEquipment.getLeggings();
|
ItemStack playerLeggings = playerEquipment.getLeggings();
|
||||||
ItemStack playerBoots = playerEquipment.getBoots();
|
ItemStack playerBoots = playerEquipment.getBoots();
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ public class ArmorStandSwappingHandler implements Listener {
|
||||||
player.getInventory().setBoots(standEquipment.getBoots());
|
player.getInventory().setBoots(standEquipment.getBoots());
|
||||||
|
|
||||||
armorStand.setHelmet(playerHelmet);
|
armorStand.setHelmet(playerHelmet);
|
||||||
armorStand.setChestplate(playerChestpalte);
|
armorStand.setChestplate(playerChestplate);
|
||||||
armorStand.setLeggings(playerLeggings);
|
armorStand.setLeggings(playerLeggings);
|
||||||
armorStand.setBoots(playerBoots);
|
armorStand.setBoots(playerBoots);
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue