Fixed detection issue in ride operator sign listener
Some checks failed
Plugins/ThemeParkConnector/pipeline/head There was a failure building this commit
Some checks failed
Plugins/ThemeParkConnector/pipeline/head There was a failure building this commit
This commit is contained in:
parent
83078cb62b
commit
aed5a8ac4e
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ public class RideOperatorListener implements Listener {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Sign sign = (Sign) block.getState();
|
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;
|
return;
|
||||||
|
|
||||||
String id = ChatColor.stripColor(sign.getLine(1));
|
String id = ChatColor.stripColor(sign.getLine(1));
|
||||||
|
|
Reference in a new issue