mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +01:00
Merge branch 'Thijmen/Arcturus-Community-feature/fix-wardrobe' into dev
This commit is contained in:
commit
4cd0b8bf3f
@ -21,7 +21,9 @@ public class SaveWardrobeEvent extends MessageHandler {
|
|||||||
wardrobeItem.setNeedsUpdate(true);
|
wardrobeItem.setNeedsUpdate(true);
|
||||||
} else {
|
} else {
|
||||||
wardrobeItem = this.client.getHabbo().getInventory().getWardrobeComponent().createLook(this.client.getHabbo(), slotId, look);
|
wardrobeItem = this.client.getHabbo().getInventory().getWardrobeComponent().createLook(this.client.getHabbo(), slotId, look);
|
||||||
|
wardrobeItem.setGender(HabboGender.valueOf(gender));
|
||||||
wardrobeItem.setNeedsInsert(true);
|
wardrobeItem.setNeedsInsert(true);
|
||||||
|
this.client.getHabbo().getInventory().getWardrobeComponent().getLooks().put(slotId, wardrobeItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
UserSavedWardrobeEvent wardrobeEvent = new UserSavedWardrobeEvent(this.client.getHabbo(), wardrobeItem);
|
UserSavedWardrobeEvent wardrobeEvent = new UserSavedWardrobeEvent(this.client.getHabbo(), wardrobeItem);
|
||||||
|
Loading…
Reference in New Issue
Block a user