mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-22 03:45:10 +01:00
Refactor support for codex(aka archive) animal, weapon, reliquary
This commit is contained in:
@@ -240,6 +240,7 @@ public class Inventory implements Iterable<GameItem> {
|
||||
}
|
||||
|
||||
private synchronized void putItem(GameItem item, InventoryTab tab) {
|
||||
getPlayer().getCodex().checkAddedItem(item);
|
||||
// Set owner and guid FIRST!
|
||||
item.setOwner(getPlayer());
|
||||
// Put in item store
|
||||
|
||||
Reference in New Issue
Block a user