diff --git a/pom.xml b/pom.xml index ed08c92..86d68a7 100644 --- a/pom.xml +++ b/pom.xml @@ -89,7 +89,7 @@ org.projectlombok lombok-maven-plugin - 1.18.10.0 + 1.18.12.0 generate-sources @@ -102,7 +102,7 @@ maven-javadoc-plugin - 3.1.1 + 3.2.0 nl/SBDeveloper/V10Lift/API/*.java @@ -181,7 +181,7 @@ nl.SBDevelopment SBUtilities - 1.4 + 1.7 compile diff --git a/src/main/lombok/nl/SBDeveloper/V10Lift/Listeners/SignChangeListener.java b/src/main/lombok/nl/SBDeveloper/V10Lift/Listeners/SignChangeListener.java index 5552c2c..48f9013 100644 --- a/src/main/lombok/nl/SBDeveloper/V10Lift/Listeners/SignChangeListener.java +++ b/src/main/lombok/nl/SBDeveloper/V10Lift/Listeners/SignChangeListener.java @@ -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()) {