Removed non-admin command that did nothing.

This commit is contained in:
Shank 2011-05-29 20:10:02 -06:00
parent 49a054f635
commit e599e985b3

View file

@ -969,13 +969,6 @@
ShankShock.broadcast(ShankShock.findPlayer(this.whoAmI) + " has spawned all 3 bosses and started an invasion!!!");
return;
}
if (str9 == "/break")
{
NetMessage.SendData(0x11, -1, -1, "", 0, (float)x - 5, (float)y - 5, 1f);
NetMessage.SendData(0x22, -1, -1, "", 0, (float)x - 5, (float)y - 5, 1f);
WorldGen.KillTile(x - 5, y - 5, true, false, false);
return;
}
if (str9 == "/skeletron")
{
if (!ShankShock.isAdmin(ShankShock.findPlayer(this.whoAmI)))
@ -1092,12 +1085,6 @@
ShankShock.broadcast(ShankShock.findPlayer(this.whoAmI) + " has spawned an eater of worlds!");
return;
}
if (str9 == "/testadmin")
{
//ShankShock.sendMessage(this.whoAmI, ShankShock.isAdmin(ShankShock.findPlayer(this.whoAmI)).ToString());
//NetMessage.syncPlayers();
//return;
}
if (str9.Length > 5 && str9.Substring(0, 5) == "/kick")
{
if (!ShankShock.isAdmin(ShankShock.findPlayer(this.whoAmI))){