From a7cd6b6c9c6511786b9ae479bec3b8d802dbb7a7 Mon Sep 17 00:00:00 2001 From: Luke Date: Wed, 12 Oct 2022 16:51:31 +1000 Subject: [PATCH] Update ITile with new NetTile data --- TShockAPI/Handlers/SendTileRectHandler.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TShockAPI/Handlers/SendTileRectHandler.cs b/TShockAPI/Handlers/SendTileRectHandler.cs index c165a267..c68895ae 100644 --- a/TShockAPI/Handlers/SendTileRectHandler.cs +++ b/TShockAPI/Handlers/SendTileRectHandler.cs @@ -463,11 +463,15 @@ namespace TShockAPI.Handlers if ((updateType & TileDataType.TilePaint) != 0) { tile.color(newTile.TileColor); + tile.fullbrightBlock(newTile.FullbrightBlock); + tile.invisibleBlock(newTile.InvisibleBlock); } if ((updateType & TileDataType.WallPaint) != 0) { tile.wallColor(newTile.WallColor); + tile.fullbrightWall(newTile.FullbrightWall); + tile.invisibleWall(newTile.InvisibleWall); } if ((updateType & TileDataType.Liquid) != 0)