mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-06 03:33:42 +08:00
Fix issue with Amber not being added
the field for an item's `useOnGain` was final!
This commit is contained in:
@@ -54,10 +54,10 @@ public class ItemData extends GameResource {
|
||||
private int[] satiationParams;
|
||||
|
||||
// Usable item
|
||||
private final ItemUseTarget useTarget = ItemUseTarget.ITEM_USE_TARGET_NONE;
|
||||
private ItemUseTarget useTarget = ItemUseTarget.ITEM_USE_TARGET_NONE;
|
||||
private List<ItemUseData> itemUse;
|
||||
private List<ItemUseAction> itemUseActions;
|
||||
private final boolean useOnGain = false;
|
||||
private boolean useOnGain = false;
|
||||
|
||||
// Relic
|
||||
private int mainPropDepotId;
|
||||
|
||||
Reference in New Issue
Block a user