diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index a2a52de7..7d9f684d 100644 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -48,7 +48,7 @@ namespace TShockAPI public static class GetDataHandlers { private static Dictionary GetDataHandlerDelegates; - private static bool[] BlacklistTiles; + public static bool[] BlacklistTiles; public static void InitGetDataHandler() { diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 87711492..5da2406e 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -819,7 +819,7 @@ namespace TShockAPI { for (int h = y; h < y + 4; h++) { - if (!Main.tile[i, h].active || Main.tile[i, h].type == 2) + if (!Main.tile[i, h].active || !GetDataHandlers.BlacklistTiles[Main.tile[i, h].type]) return false; } }