Fix stackability of matter capacitor

This commit is contained in:
DBotThePony 2021-08-14 23:18:07 +07:00
parent beca7b88c2
commit 1534eae1ab
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -175,13 +175,13 @@ public class ItemMatterCapacitor extends Item {
private final boolean is_creative; private final boolean is_creative;
public ItemMatterCapacitor(BigDecimal storage) { public ItemMatterCapacitor(BigDecimal storage) {
super(new Properties().stacksTo(64).tab(CreativeModeTab.TAB_MISC)); super(new Properties().stacksTo(1).tab(CreativeModeTab.TAB_MISC));
is_creative = false; is_creative = false;
this.storage = storage; this.storage = storage;
} }
public ItemMatterCapacitor() { public ItemMatterCapacitor() {
super(new Properties().stacksTo(64).tab(CreativeModeTab.TAB_MISC)); super(new Properties().stacksTo(1).tab(CreativeModeTab.TAB_MISC).rarity(Rarity.EPIC));
is_creative = true; is_creative = true;
storage = MatteryCapability.LONG_MAX_VALUE; storage = MatteryCapability.LONG_MAX_VALUE;
} }