I don't remember this stuff.
This commit is contained in:
parent
5683539441
commit
fd01ced7fb
3 changed files with 3 additions and 3 deletions
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue