Prevent electric tools from being repaired in the crafting grid

dev
Arona Jones 2015-06-25 19:27:49 +01:00
parent 84b3e5bfed
commit 2369e1e6bb
1 changed files with 1 additions and 0 deletions

View File

@ -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")