Merge branch 'api' of git.assembla.com:terraria into api
Conflicts: TShockAPI/TShock.cs TShockAPI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
This commit is contained in:
commit
4035c5dd71
1 changed files with 5 additions and 0 deletions
|
|
@ -124,8 +124,13 @@ 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; }
|
||||||
|
<<<<<<< HEAD
|
||||||
int x = (int) Main.player[ply].position.X;
|
int x = (int) Main.player[ply].position.X;
|
||||||
int y = (int) Main.player[ply].position.Y;
|
int y = (int) Main.player[ply].position.Y;
|
||||||
|
=======
|
||||||
|
int x = (int)Main.player[ply].position.X;
|
||||||
|
int y = (int)Main.player[ply].position.Y;
|
||||||
|
>>>>>>> a4cf86f85300a81a3eab772d8735dcd7c6747010
|
||||||
if (IsAdmin(ply))
|
if (IsAdmin(ply))
|
||||||
{
|
{
|
||||||
if (msg.Length > 5 && msg.Substring(0, 5) == "/kick")
|
if (msg.Length > 5 && msg.Substring(0, 5) == "/kick")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue