diff --git a/pom.xml b/pom.xml
index c88d0d6..3078297 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
com.craftaro
UltimateRepairing
- 2.0.1
+ 2.3.0
clean install
@@ -48,7 +48,7 @@
org.apache.maven.plugins
maven-shade-plugin
- 3.3.0
+ 3.5.3
shaded
@@ -81,10 +81,10 @@
false
**/nms/v*/**
+ **/third_party/net/kyori/**
**/third_party/org/apache/**
- **/third_party/net/kyori/**
**/third_party/com/zaxxer/**
**/third_party/org/jooq/**
**/third_party/org/mariadb/**
@@ -131,7 +131,7 @@
com.craftaro
CraftaroCore
- 3.0.0-SNAPSHOT
+ 3.5.0-SNAPSHOT
compile
diff --git a/src/main/java/com/craftaro/ultimaterepairing/anvil/UAnvil.java b/src/main/java/com/craftaro/ultimaterepairing/anvil/UAnvil.java
index d4e9963..6b96910 100644
--- a/src/main/java/com/craftaro/ultimaterepairing/anvil/UAnvil.java
+++ b/src/main/java/com/craftaro/ultimaterepairing/anvil/UAnvil.java
@@ -39,14 +39,14 @@ public class UAnvil {
ArrayList lines = new ArrayList<>();
if (!Settings.ENABLE_ANVIL_DEFAULT_FUNCTION.getBoolean()) {
- lines.add(UltimateRepairing.getInstance().getLocale().getMessage("general.hologram.oneclick").getMessage());
+ lines.add(UltimateRepairing.getInstance().getLocale().getMessage("general.hologram.oneclick").toText());
} else if (Settings.SWAP_LEFT_RIGHT.getBoolean()) {
- lines.add(UltimateRepairing.getInstance().getLocale().getMessage("general.hologram.swapclick").getMessage());
+ lines.add(UltimateRepairing.getInstance().getLocale().getMessage("general.hologram.swapclick").toText());
} else {
- lines.add(UltimateRepairing.getInstance().getLocale().getMessage("general.hologram.click").getMessage());
+ lines.add(UltimateRepairing.getInstance().getLocale().getMessage("general.hologram.click").toText());
}
- lines.add(UltimateRepairing.getInstance().getLocale().getMessage("general.hologram.torepair").getMessage());
+ lines.add(UltimateRepairing.getInstance().getLocale().getMessage("general.hologram.torepair").toText());
if (!HologramManager.isHologramLoaded(hologramId)) {
HologramManager.createHologram(hologramId, getLocation().add(0, .1, 0), lines);
diff --git a/src/main/java/com/craftaro/ultimaterepairing/gui/RepairGui.java b/src/main/java/com/craftaro/ultimaterepairing/gui/RepairGui.java
index 636636f..d241d74 100644
--- a/src/main/java/com/craftaro/ultimaterepairing/gui/RepairGui.java
+++ b/src/main/java/com/craftaro/ultimaterepairing/gui/RepairGui.java
@@ -61,7 +61,7 @@ public class RepairGui extends Gui {
if (Arrays.stream(RepairType.values()).filter(p -> p.hasPermission(player)).count() > 1)
setButton(4, GuiUtils.createButtonItem(type.getMaterial(),
type.getTitle(),
- plugin.getLocale().getMessage("interface.repair.swap").getMessage()), (event) ->
+ plugin.getLocale().getMessage("interface.repair.swap").toText()), (event) ->
init(type.getNext(player)));
diff --git a/src/main/java/com/craftaro/ultimaterepairing/handlers/RepairHandler.java b/src/main/java/com/craftaro/ultimaterepairing/handlers/RepairHandler.java
index 6bf6d92..69ae489 100644
--- a/src/main/java/com/craftaro/ultimaterepairing/handlers/RepairHandler.java
+++ b/src/main/java/com/craftaro/ultimaterepairing/handlers/RepairHandler.java
@@ -230,11 +230,11 @@ public class RepairHandler {
if (type == RepairType.ECONOMY) {
plugin.getLocale().getMessage("event.repair.notenough")
- .processPlaceholder("type", plugin.getLocale().getMessage("interface.repair.eco").getMessage())
+ .processPlaceholder("type", plugin.getLocale().getMessage("interface.repair.eco").toText())
.sendPrefixedMessage(player);
} else if (type == RepairType.EXPERIENCE)
plugin.getLocale().getMessage("event.repair.notenough")
- .processPlaceholder("type", plugin.getLocale().getMessage("interface.repair.xp").getMessage())
+ .processPlaceholder("type", plugin.getLocale().getMessage("interface.repair.xp").toText())
.sendPrefixedMessage(player);
else
plugin.getLocale().getMessage("event.repair.notenough")
diff --git a/src/main/java/com/craftaro/ultimaterepairing/repair/RepairType.java b/src/main/java/com/craftaro/ultimaterepairing/repair/RepairType.java
index 0776f1b..3151538 100644
--- a/src/main/java/com/craftaro/ultimaterepairing/repair/RepairType.java
+++ b/src/main/java/com/craftaro/ultimaterepairing/repair/RepairType.java
@@ -24,7 +24,7 @@ public enum RepairType {
RepairType(XMaterial material, String permission, String titleLang) {
this.material = material;
this.permission = permission;
- this.title = UltimateRepairing.getInstance().getLocale().getMessage(titleLang).getMessage();
+ this.title = UltimateRepairing.getInstance().getLocale().getMessage(titleLang).toText();
}
public String getTitle() {