Fix chairs not having the correct direction
This also fixes purification powder not working, and other stuff that relies on sendtilesquare
This commit is contained in:
parent
7c66e97bf1
commit
946bf2ad49
1 changed files with 4 additions and 3 deletions
|
|
@ -698,7 +698,8 @@ namespace TShockAPI
|
|||
{PacketTypes.PlayerAnimation, HandlePlayerAnimation},
|
||||
{PacketTypes.PlayerBuff, HandlePlayerBuffUpdate},
|
||||
{PacketTypes.PasswordSend, HandlePassword},
|
||||
{PacketTypes.ContinueConnecting2, HandleConnecting}
|
||||
{PacketTypes.ContinueConnecting2, HandleConnecting},
|
||||
{PacketTypes.ProjectileDestroy, HandleProjectileKill}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -1050,11 +1051,11 @@ namespace TShockAPI
|
|||
|
||||
var tile = Main.tile[realx, realy];
|
||||
var newtile = tiles[x, y];
|
||||
if (TShock.CheckTilePermission(args.Player, x, y))
|
||||
if (TShock.CheckTilePermission(args.Player, realx, realy))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
if (TShock.CheckRangePermission(args.Player, x, y))
|
||||
if (TShock.CheckRangePermission(args.Player, realx, realy))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue