Wilderness, SafeZone, and WarZone can no longer be disbanded

This commit is contained in:
Brettflan 2011-12-16 00:22:36 -06:00
parent ac34c535b3
commit 5ca330ad11

View File

@ -51,6 +51,11 @@ public class CmdDisband extends FCommand
} }
} }
if (! faction.isNormal())
{
msg("<i>You cannot disband the Wilderness, SafeZone, or WarZone.");
return;
}
if (faction.isPermanent()) if (faction.isPermanent())
{ {
msg("<i>This faction is designated as permanent, so you cannot disband it."); msg("<i>This faction is designated as permanent, so you cannot disband it.");