fix to abandoning tree as nation check
This commit is contained in:
1 parent
657cc0cf9e
commit
16e4f3fa7a
1 file changed
+1
-1
@@ -97,7 +97,7 @@ public class AbandonAssetMsgHandler extends AbstractClientMsgHandler {
|
||||
{
|
||||
// CHECK IF GUILD HAS A BANE DROPPED
|
||||
City city = ZoneManager.getCityAtLocation(building.getLoc());
|
||||
if(city.getGuild().isNation() == true)
|
||||
if(city.getGuild().getSubGuildList().isEmpty() == false)
|
||||
{
|
||||
//nations cant abandon their tree
|
||||
ErrorPopupMsg.sendErrorMsg(player, "Nations Cannot Abandon Their Capital!");
|
||||
|
||||
Reference in new issue
Block a user