|
|
@ -745,7 +745,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Vector3fImmutable plantLoc = new Vector3fImmutable(treeInfo.getLoc().x, |
|
|
|
Vector3fImmutable plantLoc = new Vector3fImmutable(treeInfo.getLoc().x, |
|
|
|
HeightMap.getWorldHeight(treeInfo.getLoc()), |
|
|
|
0, |
|
|
|
treeInfo.getLoc().z); |
|
|
|
treeInfo.getLoc().z); |
|
|
|
|
|
|
|
|
|
|
|
cityObjects = DbManager.CityQueries.CREATE_CITY(playerCharacter.getObjectUUID(), serverZone.getObjectUUID(), |
|
|
|
cityObjects = DbManager.CityQueries.CREATE_CITY(playerCharacter.getObjectUUID(), serverZone.getObjectUUID(), |
|
|
@ -754,6 +754,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler { |
|
|
|
plantLoc.z - serverZone.getAbsZ(), treeInfo.getRot().y, treeInfo.getW(), playerCharacter.getGuild().getName(), LocalDateTime.now()); |
|
|
|
plantLoc.z - serverZone.getAbsZ(), treeInfo.getRot().y, treeInfo.getW(), playerCharacter.getGuild().getName(), LocalDateTime.now()); |
|
|
|
|
|
|
|
|
|
|
|
// Uh oh!
|
|
|
|
// Uh oh!
|
|
|
|
|
|
|
|
|
|
|
|
if (cityObjects == null || cityObjects.isEmpty()) { |
|
|
|
if (cityObjects == null || cityObjects.isEmpty()) { |
|
|
|
PlaceAssetMsg.sendPlaceAssetError(origin, 1, "A Serious error has occurred. Please post details for to ensure transaction integrity"); |
|
|
|
PlaceAssetMsg.sendPlaceAssetError(origin, 1, "A Serious error has occurred. Please post details for to ensure transaction integrity"); |
|
|
|
return false; |
|
|
|
return false; |
|
|
|