mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-10 00:13:42 -04:00
Merge branch 'development' of bitbucket.org:projectswg/holocore into development
This commit is contained in:
@@ -147,7 +147,14 @@ public class CreatureObject extends TangibleObject {
|
||||
for(String slotName : slotNameList)
|
||||
container.setSlot(slotName, null);
|
||||
}
|
||||
|
||||
|
||||
public void removeEquipment(SWGObject obj) {
|
||||
synchronized (equipmentList) {
|
||||
if (equipmentList.remove(obj))
|
||||
equipmentList.sendDeltaMessage(this);
|
||||
}
|
||||
}
|
||||
|
||||
public void addEquipment(SWGObject obj) {
|
||||
synchronized(equipmentList) {
|
||||
if (obj instanceof WeaponObject)
|
||||
|
||||
Reference in New Issue
Block a user