From fd01ced7fb07af7fdb59b06bbfe56da27a9e01f4 Mon Sep 17 00:00:00 2001 From: Shank Date: Mon, 30 May 2011 15:43:35 -0600 Subject: [PATCH] I don't remember this stuff. --- TShockAPI/TShock.cs | 4 ++-- TShockAPI/TShockAPI.csproj | 2 +- ...gnTimeResolveAssemblyReferencesInput.cache | Bin 6308 -> 6278 bytes 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 376f7b62..22d15cd1 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -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") diff --git a/TShockAPI/TShockAPI.csproj b/TShockAPI/TShockAPI.csproj index 311283f9..5b24c5bf 100644 --- a/TShockAPI/TShockAPI.csproj +++ b/TShockAPI/TShockAPI.csproj @@ -17,7 +17,7 @@ true full false - ..\..\Program Files %28x86%29\Steam\steamapps\common\terraria\plugins\ + bin\Debug\ DEBUG;TRACE prompt 4 diff --git a/TShockAPI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/TShockAPI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 15023adfcaaca7d36145b5d9630a7abe397937f1..2a9ad2b0dae8b46a41e12533b16402309b13a659 100644 GIT binary patch delta 28 jcmZ2t*k-t)QcJ(ciMcVwATqI_pg1NuKQ}i&FQz25s3@^0Gcl$h Pr!+k?uXytv(N#24UE