mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-26 06:53:06 +00:00
Fix typo, add final modifier to writeToNBT
This commit is contained in:
1 parent
62316c0813
commit
660ce7fbf3
1 file changed
+2
-2
@@ -450,7 +450,7 @@ class TileMultipart extends TileEntity
|
||||
items.foreach(item => TileMultipart.dropItem(item, worldObj, pos))
|
||||
}
|
||||
|
||||
override def writeToNBT(tag:NBTTagCompound)
|
||||
final override def writeToNBT(tag:NBTTagCompound)
|
||||
{
|
||||
super.writeToNBT(tag)
|
||||
val taglist = new NBTTagList
|
||||
@@ -459,7 +459,7 @@ class TileMultipart extends TileEntity
|
||||
parttag.setString("id", part.getType)
|
||||
part.save(parttag)
|
||||
taglist.appendTag(parttag)
|
||||
}
|
||||
}
|
||||
tag.setTag("parts", taglist)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user