Initial patch for advisory-1.

- Remove unused fields from NetTile
- Apply data from packets selectively based on approving context.
This commit is contained in:
quake1337 2021-05-21 09:53:33 +02:00
parent c9b13b493e
commit c6dad11a1c
2 changed files with 83 additions and 14 deletions

View file

@ -37,8 +37,6 @@ namespace TShockAPI.Net
public bool Wire2 { get; set; }
public bool Wire3 { get; set; }
public bool Wire4 { get; set; }
public byte HalfBrick { get; set; }
public byte Actuator { get; set; }
public bool Inactive { get; set; }
public bool IsHalf { get; set; }
public bool IsActuator { get; set; }
@ -85,8 +83,6 @@ namespace TShockAPI.Net
Wire2 = false;
Wire3 = false;
Wire4 = false;
HalfBrick = 0;
Actuator = 0;
Inactive = false;
TileColor = 0;
WallColor = 0;