MC 1.19 support
This commit is contained in:
parent
e50bf0ee39
commit
b2738a3d33
@ -129,10 +129,10 @@ public class BrigadierDispatcher implements Listener {
|
||||
try {
|
||||
return dispatcher.execute(parsed);
|
||||
} catch (CommandSyntaxException e) {
|
||||
sender.sendMessage(Chat.failureText("Erreur d’utilisation de la commande : " + e.getMessage()).get());
|
||||
sender.sendMessage(Chat.failureText("Erreur d'utilisation de la commande : " + e.getMessage()).get());
|
||||
return 0;
|
||||
} catch (Throwable e) {
|
||||
sender.sendMessage(Chat.failureText("Erreur lors de l’exécution de la commande : " + e.getMessage()).get());
|
||||
sender.sendMessage(Chat.failureText("Erreur lors de l'exécution de la commande : " + e.getMessage()).get());
|
||||
Log.severe(e);
|
||||
return 0;
|
||||
}
|
||||
|
@ -54,7 +54,9 @@ public enum MinecraftVersion {
|
||||
v1_17_1(756, "1.17.1"),
|
||||
|
||||
v1_18_to_1_18_1(757, "1.18", "1.18.1"),
|
||||
v1_18_2(758, "1.18.2");
|
||||
v1_18_2(758, "1.18.2"),
|
||||
|
||||
v1_19(759, "1.19");
|
||||
// IMPORTANT: don't forget to update the versionMergeDisplay value when adding a new version;
|
||||
|
||||
private static Map<EnumSet<MinecraftVersion>, List<String>> versionMergeDisplay;
|
||||
|
2
pom.xml
2
pom.xml
@ -41,7 +41,7 @@
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
|
||||
<bungeecord.version>1.18-R0.1-SNAPSHOT</bungeecord.version>
|
||||
<bungeecord.version>1.19-R0.1-SNAPSHOT</bungeecord.version>
|
||||
<paper.version>1.18.1-R0.1</paper.version>
|
||||
<mc.version>1.18.1</mc.version>
|
||||
</properties>
|
||||
|
Loading…
Reference in New Issue
Block a user