3
0
Fork 0

Fixed detection issue in ride operator sign listener
Some checks failed
Plugins/ThemeParkConnector/pipeline/head There was a failure building this commit

This commit is contained in:
Stijn Bannink 2023-10-12 18:00:31 +00:00
parent 83078cb62b
commit aed5a8ac4e

View file

@ -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));