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:
psxlover 2012-06-14 19:31:41 +03:00
parent c72fbbfe41
commit 422e1b048e

View file

@ -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);
}
}
}