Biome Torch check is suppose to check for 0
This commit is contained in:
parent
8004b3f079
commit
de22400b3f
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ namespace TShockAPI
|
|||
{
|
||||
tplayer.UsingBiomeTorches = usingBiomeTorches;
|
||||
}
|
||||
if (style != biomeTorchStyle)
|
||||
if (style != TorchID.Torch || style != biomeTorchStyle)
|
||||
{
|
||||
TShock.Log.ConsoleError("Bouncer / OnTileEdit rejected from (placestyle) {0} {1} {2} placeStyle: {3} expectedStyle: 0 or {4}",
|
||||
args.Player.Name, action, editData, style, biomeTorchStyle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue