Corrected a bug where the pathMarkers didn't save properly, that sometimes (depending on the order they were loaded) resulted in "lost" connections after a world load.
This commit is contained in:
parent
c72fbbfe41
commit
422e1b048e
1 changed files with 3 additions and 3 deletions
|
@ -231,9 +231,9 @@ public class TilePathMarker extends TileMarker {
|
|||
}
|
||||
|
||||
if (links[1] != null) {
|
||||
nbttagcompound.setInteger("x0", links[1].xCoord);
|
||||
nbttagcompound.setInteger("y0", links[1].yCoord);
|
||||
nbttagcompound.setInteger("z0", links[1].zCoord);
|
||||
nbttagcompound.setInteger("x1", links[1].xCoord);
|
||||
nbttagcompound.setInteger("y1", links[1].yCoord);
|
||||
nbttagcompound.setInteger("z1", links[1].zCoord);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue