mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-28 07:56:11 +00:00
Made copyFrom loadFrom distinction to make the copyFrom autogen clearer
This commit is contained in:
1 parent
5ed6a85af7
commit
c221e0bdcf
5 files changed
+24
-15
No files matched your search
@@ -77,7 +77,7 @@ object MultipartGenerator
|
||||
{
|
||||
ntile = factory.generateTile(partTraits++tileTraits, world.isRemote)
|
||||
world.setBlockTileEntity(pos.x, pos.y, pos.z, ntile)
|
||||
ntile.loadFrom(tile)
|
||||
ntile.from(tile)
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -118,7 +118,7 @@ object MultipartGenerator
|
||||
{
|
||||
val ntile = factory.generateTile(testSet.toSeq, client)
|
||||
tile.worldObj.setBlockTileEntity(tile.xCoord, tile.yCoord, tile.zCoord, ntile)
|
||||
ntile.loadFrom(tile)
|
||||
ntile.from(tile)
|
||||
return ntile
|
||||
}
|
||||
return tile
|
||||
|
||||
Reference in new issue
Block a user