Add comment describing right booster track check
This commit is contained in:
parent
c616d1cade
commit
74197bd71b
1 changed files with 1 additions and 0 deletions
|
|
@ -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}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue