Prevent electric tools from being repaired in the crafting grid
parent
84b3e5bfed
commit
2369e1e6bb
|
@ -36,6 +36,7 @@ public class ItemElectricTool extends ItemModTool implements IEnergyItem
|
|||
this.maxEnergy = maxEnergy * 1000;
|
||||
this.maxReceive = (short) maxReceive;
|
||||
this.setMaxStackSize(1);
|
||||
this.setNoRepair();
|
||||
}
|
||||
|
||||
@SuppressWarnings("all")
|
||||
|
|
Loading…
Reference in New Issue