Was never supposed to add exploit code.

This commit is contained in:
Deathmax 2011-12-13 17:30:01 +08:00
parent 6a0e1d0ecc
commit c821c920ce
2 changed files with 2 additions and 9 deletions

View file

@ -198,7 +198,6 @@ namespace TShockAPI
add(Permissions.hardmode, StartHardMode, "hardmode");
add(Permissions.hardmode, DisableHardMode, "stophardmode", "disablehardmode");
add(Permissions.cfg, ServerInfo, "stats");
add(null, ExploitTest, "exploit");
}
public static bool HandleCommand(TSPlayer player, string text)
@ -2866,11 +2865,5 @@ namespace TShockAPI
}
#endregion Cheat Comamnds
public static void ExploitTest(CommandArgs args)
{
var proj = Projectile.NewProjectile(args.Player.TileX, args.Player.TileY, 0f, 0f, 23, 99, 0f);
args.Player.SendData(PacketTypes.ProjectileNew, "", proj);
}
}
}