Hardcoded sign changed to config
Hardcoded sign changed to config ConfigUtil.getConfigText("SignText")
This commit is contained in:
parent
c7274c63bb
commit
0d3075c4cf
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ public class SignChangeListener implements Listener {
|
|||
@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true)
|
||||
public void onSignChange(SignChangeEvent e) {
|
||||
String[] lines = e.getLines();
|
||||
if (!lines[0].equalsIgnoreCase("[v10lift]")) return;
|
||||
if (!lines[0].equalsIgnoreCase(ConfigUtil.getConfigText("SignText"))) return;
|
||||
|
||||
Player p = e.getPlayer();
|
||||
if (lines[1].isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue