Update ITile with new NetTile data
This commit is contained in:
parent
818f5fcc59
commit
a7cd6b6c9c
1 changed files with 4 additions and 0 deletions
|
|
@ -463,11 +463,15 @@ namespace TShockAPI.Handlers
|
||||||
if ((updateType & TileDataType.TilePaint) != 0)
|
if ((updateType & TileDataType.TilePaint) != 0)
|
||||||
{
|
{
|
||||||
tile.color(newTile.TileColor);
|
tile.color(newTile.TileColor);
|
||||||
|
tile.fullbrightBlock(newTile.FullbrightBlock);
|
||||||
|
tile.invisibleBlock(newTile.InvisibleBlock);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((updateType & TileDataType.WallPaint) != 0)
|
if ((updateType & TileDataType.WallPaint) != 0)
|
||||||
{
|
{
|
||||||
tile.wallColor(newTile.WallColor);
|
tile.wallColor(newTile.WallColor);
|
||||||
|
tile.fullbrightWall(newTile.FullbrightWall);
|
||||||
|
tile.invisibleWall(newTile.InvisibleWall);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((updateType & TileDataType.Liquid) != 0)
|
if ((updateType & TileDataType.Liquid) != 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue