forked from MagicBane/Server
fix to abandoning tree as nation check
This commit is contained in:
@@ -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