mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
When creating a new item for the wardrobe, save it in the Set so it can be retreived later
This commit is contained in:
parent
a1af30b8e3
commit
234392a269
@ -21,7 +21,9 @@ public class SaveWardrobeEvent extends MessageHandler {
|
||||
wardrobeItem.setNeedsUpdate(true);
|
||||
} else {
|
||||
wardrobeItem = this.client.getHabbo().getInventory().getWardrobeComponent().createLook(this.client.getHabbo(), slotId, look);
|
||||
wardrobeItem.setGender(HabboGender.valueOf(gender));
|
||||
wardrobeItem.setNeedsInsert(true);
|
||||
this.client.getHabbo().getInventory().getWardrobeComponent().getLooks().put(slotId, wardrobeItem);
|
||||
}
|
||||
|
||||
UserSavedWardrobeEvent wardrobeEvent = new UserSavedWardrobeEvent(this.client.getHabbo(), wardrobeItem);
|
||||
|
Loading…
Reference in New Issue
Block a user