3
0
Fork 0

Fixed typo 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 17:58:23 +00:00
parent 6eedef6b3e
commit 83078cb62b

View file

@ -21,7 +21,7 @@ public class RideOperatorListener implements Listener {
@EventHandler @EventHandler
public void onPlace(SignChangeEvent e) { public void onPlace(SignChangeEvent e) {
if(e.getLines().length < 2) if(e.getLines().length <= 2)
return; return;
if(!e.getLine(0).equalsIgnoreCase(ThemeParkConnector.getInstance().getAPI().getConfigurationManager().getString(StorageKey.SIGN_CONTROL_NAME))) if(!e.getLine(0).equalsIgnoreCase(ThemeParkConnector.getInstance().getAPI().getConfigurationManager().getString(StorageKey.SIGN_CONTROL_NAME)))