mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-13 00:47:52 +00:00
Fixed saw repair dupe bug.
This commit is contained in:
1 parent
22ebd264be
commit
2404ea73af
1 file changed
+1
@@ -39,6 +39,7 @@ class ItemSaw(sawTag:ConfigTag, val harvestLevel:Int) extends Item(sawTag.getTag
|
||||
val maxDamage = sawTag.getTag("durability").getIntValue(1<<harvestLevel+8)
|
||||
if(maxDamage > 0)
|
||||
setMaxDamage(maxDamage)
|
||||
setNoRepair()
|
||||
}
|
||||
|
||||
override def hasContainerItem = true
|
||||
|
||||
Reference in new issue
Block a user