Fix LunarMonolith toggling
This commit is contained in:
parent
d0409db5fb
commit
c309990f94
1 changed files with 4 additions and 0 deletions
|
|
@ -210,11 +210,15 @@ namespace TShockAPI.Handlers
|
|||
if (MaxFrameY != IGNORE_FRAME)
|
||||
{
|
||||
if (tile.FrameY < 0 || tile.FrameY > MaxFrameY || tile.FrameY % FrameYStep != 0)
|
||||
{
|
||||
// this is the only tile type sent in a tile rect where the frame have a different pattern (56, 74, 92 instead of 54, 72, 90)
|
||||
if (!(TileType == TileID.LunarMonolith && tile.FrameY % FrameYStep == 2))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (Type == MatchType.Removal)
|
||||
{
|
||||
if (tile.Active)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue