fixed tile entity positioning when flipping N/S and E/W
This commit is contained in:
parent
242944ba4c
commit
e1b4242115
@ -1500,7 +1500,7 @@ class MCSchematic (MCLevel):
|
||||
entity["Dir"].value = northSouthPaintingMap[entity["Dir"].value]
|
||||
|
||||
for tileEntity in self.TileEntities:
|
||||
tileEntity["x"].value = self.Width - tileEntity["x"].value
|
||||
tileEntity["x"].value = self.Width - tileEntity["x"].value - 1
|
||||
|
||||
def flipEastWest(self):
|
||||
" xxx flip entities "
|
||||
@ -1523,7 +1523,7 @@ class MCSchematic (MCLevel):
|
||||
entity["Dir"].value = eastWestPaintingMap[entity["Dir"].value]
|
||||
|
||||
for tileEntity in self.TileEntities:
|
||||
tileEntity["z"].value = self.Length - tileEntity["z"].value
|
||||
tileEntity["z"].value = self.Length - tileEntity["z"].value - 1
|
||||
|
||||
|
||||
@decompress_first
|
||||
|
Reference in New Issue
Block a user