Browse Source

bugfix in world height calculation.

master
MagicBot 1 year ago
parent
commit
8fbbde6d69
  1. 2
      src/engine/net/client/handlers/PlaceAssetMsgHandler.java

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

@ -507,7 +507,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler { @@ -507,7 +507,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
}
Vector3fImmutable plantLoc = new Vector3fImmutable(treeInfo.getLoc().x,
serverZone.getHeightMap().getInterpolatedTerrainHeight(treeInfo.getLoc()),
HeightMap.getWorldHeight(treeInfo.getLoc()),
treeInfo.getLoc().z);
cityObjects = DbManager.CityQueries.CREATE_CITY(playerCharacter.getObjectUUID(), serverZone.getObjectUUID(),

Loading…
Cancel
Save