Browse Source

asset placement validation to use city location not players location

master
FatBoy-DOTC 1 year ago
parent
commit
685dd948e2
  1. 2
      src/engine/net/client/handlers/PlaceAssetMsgHandler.java

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

@ -190,7 +190,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler { @@ -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

Loading…
Cancel
Save