Prohibit admins messing with Shuttgart castle.
This commit is contained in:
parent
b524abc86d
commit
fcda2ab823
@ -266,6 +266,11 @@ public class AdminSiege implements IAdminCommandHandler
|
|||||||
{
|
{
|
||||||
if (castle != null)
|
if (castle != null)
|
||||||
{
|
{
|
||||||
|
if (castle.getCastleId() == 9) // Shuttgart does not exist in C4.
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
final String name = castle.getName();
|
final String name = castle.getName();
|
||||||
cList.append("<td fixwidth=90><a action=\"bypass -h admin_siege " + name + "\">" + name + "</a></td>");
|
cList.append("<td fixwidth=90><a action=\"bypass -h admin_siege " + name + "\">" + name + "</a></td>");
|
||||||
i++;
|
i++;
|
||||||
|
Loading…
Reference in New Issue
Block a user