From 6c0a08e95c2353f0b09ec8930c715eebc105e6a4 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 2 May 2014 18:22:09 +1200 Subject: [PATCH] Typo count by prplz. Somehow doesn't seem to have anyone complaining about it.. --- src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java index 6ed8e6a7..40b33d08 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java @@ -274,7 +274,7 @@ public class FlagWatcher { // Find the item to replace it with if (getDisguise().getEntity() instanceof LivingEntity) { EntityEquipment enquipment = ((LivingEntity) getDisguise().getEntity()).getEquipment(); - if (slot == 0) { + if (slot == 4) { itemStack = enquipment.getItemInHand(); } else { itemStack = enquipment.getArmorContents()[slot];