Am I going crazy or something, or do I need more sleep... can annyone offer a second set of eyes please?
boolean slotTypeMatch = false;
System.out.println("waiType: " + waiType);
if (waiType.equals("W")){
} else if(waiType.equals("A")){
itemFilename = MyServer.armorMap.get(waiId).getFilename();
System.out.println("endContainerSlot: " + endContainerSlot + ", getSlot: " + MyServer.weaponMap.get(waiId).getSlot());
if (endContainerSlot == MyServer.armorMap.get(waiId).getSlot()){
System.out.println("WHY DONT I MAKE IT HERE!!!!");
slotTypeMatch = true;
}
}
System.out.println("itemFilename: " + itemFilename);
System.out.println("slotTypeMatch: " + slotTypeMatch);
if (slotTypeMatch){
//not making it here, I must be going insane
And here is my console output... I can't figure this out for the life of me...
waiType: A
endContainerSlot: 1, getSlot: 1
itemFilename: images/armor/armor_tunic.png
slotTypeMatch: false
Edit they are both int
int endContainerSlot - com.jayavon.game.server.MyCommandHandler.run()
int com.jayavon.game.actualgame.Armor.getSlot()