Merge pull request #1288 from Patrikkk/general-devel

Fix #1287 | Quickstack to nearby chests issue
This commit is contained in:
White 2016-09-25 20:05:17 +09:30 committed by GitHub
commit 6050f23a01

View file

@ -503,7 +503,7 @@ namespace TShockAPI
return;
}
if (CheckRangePermission(tsplr, (int)args.Position.X, (int)args.Position.Y))
if (CheckRangePermission(tsplr, args.Chest.x, args.Chest.y))
{
args.Handled = true;
return;