Originally Posted by
Lilmike012
alright what do i do there? im new too :/ id have a hat on or helmet that works right and ill equip one and itll go into myweapon slot. is that how you fix that?
Itemassistant - search for
Code:
targetSlot = Item.targetSlots[wearID];
switch (wearID) {
underneath that, add :
Code:
case ###: //item id
targetSlot = ###; // desired slot
break;
Here's a list of slot id's :
public static int playerHat = 0;
public static int playerCape = 1;
public static int playerAmulet = 2;
public static int playerWeapon = 3;
public static int playerChest = 4;
public static int playerShield = 5;
public static int playerLegs = 7;
public static int playerHands = 9;
public static int playerFeet = 10;
public static int playerRing = 12;
public static int playerArrows = 13;
took that directly from my player.java lol