chore: Update SongodaCore to v3.5.0-SNAPSHOT

This commit is contained in:
Christian Koop 2024-10-02 15:55:23 +02:00
parent 2bf61749f7
commit f654ec62fb
No known key found for this signature in database
GPG Key ID: 6A4A09E8ED946113
2 changed files with 3 additions and 3 deletions

View File

@ -131,7 +131,7 @@
<dependency>
<groupId>com.craftaro</groupId>
<artifactId>CraftaroCore</artifactId>
<version>3.3.0-SNAPSHOT</version>
<version>3.5.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>

View File

@ -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")