terraform issue

This commit is contained in:
2024-09-03 21:05:19 -05:00
parent ae6b584a5f
commit 06abea3576
+4 -4
View File
@@ -112,13 +112,13 @@ public class Zone extends AbstractGameObject {
if (zone.playerCityID > 0) { if (zone.playerCityID > 0) {
writer.put((byte) 1); // Player City - True writer.put((byte) 1); // Player City - True
writer.putFloat(Enum.CityBoundsType.GRID.extents); writer.putFloat(Enum.CityBoundsType.GRID.extents + 128);
writer.putFloat(Enum.CityBoundsType.GRID.extents); writer.putFloat(Enum.CityBoundsType.GRID.extents + 128);
} else } else
writer.put((byte) 0); // Player City - False writer.put((byte) 0); // Player City - False
writer.putFloat(zone.xCoord); writer.putFloat(zone.xCoord + 64);
writer.putFloat(zone.zCoord); writer.putFloat(zone.zCoord - 64);
writer.putFloat(zone.yCoord); writer.putFloat(zone.yCoord);
writer.putInt(0); writer.putInt(0);