Bump paper version to 1.19.4.

Seems to compile, but reflection API may not work as is.
This commit is contained in:
Marc Baloup 2023-05-08 18:31:27 +02:00
parent 448ee6c62a
commit d023bcb706
2 changed files with 8 additions and 5 deletions

View File

@ -45,19 +45,22 @@ public class BukkitChatColorUtil {
}
@SuppressWarnings("deprecation")
public static ChatColor toBukkit(net.md_5.bungee.api.ChatColor color) {
return ChatColor.valueOf(color.getName().toUpperCase());
}
@SuppressWarnings("deprecation")
public static ChatColor toBukkit(TextColor color) {
return toBukkit(NamedTextColor.nearestTo(color));
}
@SuppressWarnings("deprecation")
public static ChatColor toBukkit(NamedTextColor color) {
return ChatColor.valueOf(color.toString().toUpperCase());
}
@SuppressWarnings("deprecation")
public static NamedTextColor toAdventure(ChatColor color) {
return NamedTextColor.NAMES.value(color.name().toLowerCase());
}

View File

@ -56,8 +56,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<bungeecord.version>1.19-R0.1-SNAPSHOT</bungeecord.version>
<paper.version>1.19.2-R0.1</paper.version>
<mc.version>1.19.2</mc.version>
<paper.version>1.19.4-R0.1</paper.version>
<mc.version>1.19.4</mc.version>
</properties>
<modules>