Commit 4cd0b8bf authored by Remco's avatar Remco

Merge branch 'Thijmen/Arcturus-Community-feature/fix-wardrobe' into dev

parents a1af30b8 234392a2
Pipeline #1891 passed with stage
in 14 seconds
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment