From 685dd948e211294f0f050a3cf878ca2dcf2c0ccf Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 31 Jul 2023 21:55:20 -0500 Subject: [PATCH] asset placement validation to use city location not players location --- src/engine/net/client/handlers/PlaceAssetMsgHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/net/client/handlers/PlaceAssetMsgHandler.java b/src/engine/net/client/handlers/PlaceAssetMsgHandler.java index a5956ebf..c8e1e777 100644 --- a/src/engine/net/client/handlers/PlaceAssetMsgHandler.java +++ b/src/engine/net/client/handlers/PlaceAssetMsgHandler.java @@ -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