Browse Source

terraform issues

lakebane-recovery
FatBoy-DOTC 6 days ago
parent
commit
afbebba471
  1. 2
      src/engine/net/client/handlers/PlaceAssetMsgHandler.java
  2. 4
      src/engine/objects/Zone.java

2
src/engine/net/client/handlers/PlaceAssetMsgHandler.java

@ -805,7 +805,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler { @@ -805,7 +805,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
// Update guild binds and tags
//load the new city on the clients
CityZoneMsg czm = new CityZoneMsg(1, treeObject.getLoc().x, treeObject.getLoc().y, treeObject.getLoc().z, cityObject.getCityName(), zoneObject, Enum.CityBoundsType.ZONE.extents + 256, Enum.CityBoundsType.ZONE.extents + 256);
CityZoneMsg czm = new CityZoneMsg(1, treeObject.getLoc().x, treeObject.getLoc().y, treeObject.getLoc().z, cityObject.getCityName(), zoneObject, Enum.CityBoundsType.ZONE.extents, Enum.CityBoundsType.ZONE.extents);
DispatchMessage.dispatchMsgToAll(czm);
GuildManager.updateAllGuildBinds(playerNation, cityObject);

4
src/engine/objects/Zone.java

@ -112,8 +112,8 @@ public class Zone extends AbstractGameObject { @@ -112,8 +112,8 @@ public class Zone extends AbstractGameObject {
if (zone.playerCityID > 0) {
writer.put((byte) 1); // Player City - True
writer.putFloat(Enum.CityBoundsType.GRID.extents + 128);
writer.putFloat(Enum.CityBoundsType.GRID.extents + 128);
writer.putFloat(Enum.CityBoundsType.ZONE.extents + 128);
writer.putFloat(Enum.CityBoundsType.ZONE.extents + 128);
} else
writer.put((byte) 0); // Player City - False

Loading…
Cancel
Save