Was never supposed to add exploit code.
This commit is contained in:
parent
6a0e1d0ecc
commit
c821c920ce
2 changed files with 2 additions and 9 deletions
|
|
@ -198,7 +198,6 @@ namespace TShockAPI
|
||||||
add(Permissions.hardmode, StartHardMode, "hardmode");
|
add(Permissions.hardmode, StartHardMode, "hardmode");
|
||||||
add(Permissions.hardmode, DisableHardMode, "stophardmode", "disablehardmode");
|
add(Permissions.hardmode, DisableHardMode, "stophardmode", "disablehardmode");
|
||||||
add(Permissions.cfg, ServerInfo, "stats");
|
add(Permissions.cfg, ServerInfo, "stats");
|
||||||
add(null, ExploitTest, "exploit");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool HandleCommand(TSPlayer player, string text)
|
public static bool HandleCommand(TSPlayer player, string text)
|
||||||
|
|
@ -2866,11 +2865,5 @@ namespace TShockAPI
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion Cheat Comamnds
|
#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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,5 +36,5 @@ using System.Runtime.InteropServices;
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
|
||||||
|
|
||||||
[assembly: AssemblyVersion("3.3.4.1212")]
|
[assembly: AssemblyVersion("3.3.4.1213")]
|
||||||
[assembly: AssemblyFileVersion("3.3.4.1212")]
|
[assembly: AssemblyFileVersion("3.3.4.1213")]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue