Fixed typo 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
6eedef6b3e
commit
83078cb62b
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ public class RideOperatorListener implements Listener {
|
|||
|
||||
@EventHandler
|
||||
public void onPlace(SignChangeEvent e) {
|
||||
if(e.getLines().length < 2)
|
||||
if(e.getLines().length <= 2)
|
||||
return;
|
||||
|
||||
if(!e.getLine(0).equalsIgnoreCase(ThemeParkConnector.getInstance().getAPI().getConfigurationManager().getString(StorageKey.SIGN_CONTROL_NAME)))
|
||||
|
|
Reference in a new issue