Add comment describing right booster track check

This commit is contained in:
Arthri 2021-07-22 10:43:23 +08:00
parent c616d1cade
commit 74197bd71b

View file

@ -345,6 +345,7 @@ namespace TShockAPI
return;
}
}
// Checks if the player is trying to place a booster track facing right
else if (createTile != TileID.MinecartTrack || placeStyle != 2 || args.Player.TPlayer.direction != 1 || style != 3)
{
TShock.Log.ConsoleError("Bouncer / OnTileEdit rejected from (placestyle) {0} {1} {2} placeStyle: {3} expectedStyle: {4}",