Explicitly add placeStyle = 0

This commit is contained in:
Arthri 2021-08-18 18:39:41 +08:00
parent 638b7cc54f
commit 3eaf86ba04

View file

@ -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))
{