From 74197bd71b26ca6345ed6eadd51fbaa9591ae696 Mon Sep 17 00:00:00 2001 From: Arthri <41360489+Arthri@users.noreply.github.com> Date: Thu, 22 Jul 2021 10:43:23 +0800 Subject: [PATCH] Add comment describing right booster track check --- TShockAPI/Bouncer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/TShockAPI/Bouncer.cs b/TShockAPI/Bouncer.cs index cb3229ff..71a5e3d0 100644 --- a/TShockAPI/Bouncer.cs +++ b/TShockAPI/Bouncer.cs @@ -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}",