mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 16:49:11 +00:00
* Fix Several Items that were glitched when worn.
* Fix items that were not able to be worn due to the name. * Added prayer check in due to one of the items using it during 377
This commit is contained in:
@@ -63,10 +63,11 @@ public final class EquipmentDefinitionParser implements Runnable {
|
||||
int strength = in.readByte() & 0xFF;
|
||||
int defence = in.readByte() & 0xFF;
|
||||
int ranged = in.readByte() & 0xFF;
|
||||
int prayer = in.readByte() & 0xFF;
|
||||
int magic = in.readByte() & 0xFF;
|
||||
|
||||
EquipmentDefinition definition = new EquipmentDefinition(id);
|
||||
definition.setLevels(attack, strength, defence, ranged, magic);
|
||||
definition.setLevels(attack, strength, defence, ranged, prayer, magic);
|
||||
definition.setSlot(slot);
|
||||
definition.setFlags(twoHanded, fullBody, fullHat, fullMask);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user