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")

View file

@ -17,7 +17,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\Program Files %28x86%29\Steam\steamapps\common\terraria\plugins\</OutputPath>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>