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)
|
void OnChat(int ply, string msg, HandledEventArgs handler)
|
||||||
{
|
{
|
||||||
if (Main.netMode != 2) { return; }
|
if (Main.netMode != 2) { return; }
|
||||||
int x = Main.player[ply].position.X;
|
int x = (int) Main.player[ply].position.X;
|
||||||
int y = Main.player[ply].position.Y;
|
int y = (int) Main.player[ply].position.Y;
|
||||||
if (IsAdmin(ply))
|
if (IsAdmin(ply))
|
||||||
{
|
{
|
||||||
if (msg.Length > 5 && msg.Substring(0, 5) == "/kick")
|
if (msg.Length > 5 && msg.Substring(0, 5) == "/kick")
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>..\..\Program Files %28x86%29\Steam\steamapps\common\terraria\plugins\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue