From 3eaf86ba04800c3c344162d92885585068e9b897 Mon Sep 17 00:00:00 2001 From: Arthri <41360489+Arthri@users.noreply.github.com> Date: Wed, 18 Aug 2021 18:39:41 +0800 Subject: [PATCH] Explicitly add placeStyle = 0 --- TShockAPI/Utils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/Utils.cs b/TShockAPI/Utils.cs index 92d45299..97a38bdc 100644 --- a/TShockAPI/Utils.cs +++ b/TShockAPI/Utils.cs @@ -1226,7 +1226,7 @@ namespace TShockAPI for (int i = 0; i < Main.maxItemTypes; i++) { item.netDefaults(i); - if (item.placeStyle > 0) + if (item.placeStyle >= 0) { if (GetDataHandlers.MaxPlaceStyles.ContainsKey(item.createTile)) {