forked from MagicBane/Server
asset placement validation to use city location not players location
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user