Fixed cannon tiles orientation bug
This commit is contained in:
parent
142b67ace3
commit
f55eaa3caf
2 changed files with 2 additions and 4 deletions
|
|
@ -1608,7 +1608,7 @@ namespace TShockAPI
|
|||
/// <summary>
|
||||
/// Tiles that can be oriented (e.g., beds, chairs, bathtubs, etc).
|
||||
/// </summary>
|
||||
private static byte[] orientableTiles = new byte[] { 15, 79, 90, 137 };
|
||||
private static byte[] orientableTiles = new byte[] { 15, 79, 90, 137, 209 };
|
||||
|
||||
private static bool HandleSendTileSquare(GetDataHandlerArgs args)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -748,9 +748,7 @@ namespace TShockAPI
|
|||
player.IgnoreActionsForDisabledArmor = check;
|
||||
if (CheckIgnores(player))
|
||||
{
|
||||
player.SetBuff(33, 120); //Weak
|
||||
player.SetBuff(32, 120); //Slow
|
||||
player.SetBuff(23, 120); //Cursed
|
||||
player.Disable("check ignores failed in SecondUpdate()");
|
||||
}
|
||||
else if (!player.Group.HasPermission(Permissions.usebanneditem) &&
|
||||
Itembans.ItemIsBanned(player.TPlayer.inventory[player.TPlayer.selectedItem].name, player))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue