mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-09-12 01:48:07 +02:00
Typo count by prplz. Somehow doesn't seem to have anyone complaining about it..
This commit is contained in:
parent
ebefbfe2c7
commit
6c0a08e95c
@ -274,7 +274,7 @@ public class FlagWatcher {
|
|||||||
// Find the item to replace it with
|
// Find the item to replace it with
|
||||||
if (getDisguise().getEntity() instanceof LivingEntity) {
|
if (getDisguise().getEntity() instanceof LivingEntity) {
|
||||||
EntityEquipment enquipment = ((LivingEntity) getDisguise().getEntity()).getEquipment();
|
EntityEquipment enquipment = ((LivingEntity) getDisguise().getEntity()).getEquipment();
|
||||||
if (slot == 0) {
|
if (slot == 4) {
|
||||||
itemStack = enquipment.getItemInHand();
|
itemStack = enquipment.getItemInHand();
|
||||||
} else {
|
} else {
|
||||||
itemStack = enquipment.getArmorContents()[slot];
|
itemStack = enquipment.getArmorContents()[slot];
|
||||||
|
Loading…
Reference in New Issue
Block a user