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 15023adf..2a9ad2b0 100644
Binary files a/TShockAPI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/TShockAPI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ