asset placement validation to use city location not players location

This commit is contained in:
2023-07-31 21:55:20 -05:00
parent 140ec1b08d
commit 685dd948e2
@@ -190,7 +190,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
return false;
}
Realm serverRealm = RealmMap.getRealmAtLocation(player.getLoc());
Realm serverRealm = RealmMap.getRealmAtLocation(city.getLoc());
// Cannot place buildings on seafloor or other restricted realms