From aed5a8ac4e3bdf02df95435e519b2cfe71f6a89f Mon Sep 17 00:00:00 2001 From: Stijn Bannink Date: Thu, 12 Oct 2023 18:00:31 +0000 Subject: [PATCH] Fixed detection issue in ride operator sign listener --- .../themeparkconnector/listeners/RideOperatorListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/nl/iobyte/themeparkconnector/listeners/RideOperatorListener.java b/src/main/java/nl/iobyte/themeparkconnector/listeners/RideOperatorListener.java index 6eb09d8..51e5b5a 100755 --- a/src/main/java/nl/iobyte/themeparkconnector/listeners/RideOperatorListener.java +++ b/src/main/java/nl/iobyte/themeparkconnector/listeners/RideOperatorListener.java @@ -55,7 +55,7 @@ public class RideOperatorListener implements Listener { return; Sign sign = (Sign) block.getState(); - if(!ChatColor.stripColor(sign.getLine(0)).equals(Text.color(ThemeParkConnector.getInstance().getAPI().getConfigurationManager().getString(StorageKey.SIGN_CONTROL_TITLE)))) + if(!sign.getLine(0).equals(Text.color(ThemeParkConnector.getInstance().getAPI().getConfigurationManager().getString(StorageKey.SIGN_CONTROL_TITLE)))) return; String id = ChatColor.stripColor(sign.getLine(1));