asset placement validation to use city location not players location

This commit is contained in:
FatBoy committed 2023-07-31 21:55:20 -05:00
1 parent 140ec1b08d
commit 685dd948e2
1 file changed
+1 -1
@@ -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