I don't remember this stuff.

This commit is contained in:
Shank 2011-05-30 15:43:35 -06:00
parent 5683539441
commit fd01ced7fb
3 changed files with 3 additions and 3 deletions

View file

@ -124,8 +124,8 @@ namespace TShockAPI
void OnChat(int ply, string msg, HandledEventArgs handler)
{
if (Main.netMode != 2) { return; }
int x = Main.player[ply].position.X;
int y = Main.player[ply].position.Y;
int x = (int) Main.player[ply].position.X;
int y = (int) Main.player[ply].position.Y;
if (IsAdmin(ply))
{
if (msg.Length > 5 && msg.Substring(0, 5) == "/kick")