Originally Posted by
aDzeRS
A lot of items does not appear and if trying to wield it turns into a granite maul
Are you spawning it correctly..? Use the console.
Also, you must define an item before being able to equip it. You can do that in the items.txt file.
If you want to be able to wear items that haven't been defined yet, simply change this code in EquipPacketListener.java:
Code:
//Weapon hasn't been added yet?
if(equipmentSlot == -1) {
return;
}
To something like:
Code:
//Weapon hasn't been added yet?
if(equipmentSlot == -1) {
equipmentSlot = Equipment.WEAPON_SLOT;
}
Note that it will now always equip undefined items in the weapon slot.