MC 1.19 support
This commit is contained in:
parent
e50bf0ee39
commit
b2738a3d33
@ -129,10 +129,10 @@ public class BrigadierDispatcher implements Listener {
|
|||||||
try {
|
try {
|
||||||
return dispatcher.execute(parsed);
|
return dispatcher.execute(parsed);
|
||||||
} catch (CommandSyntaxException e) {
|
} 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;
|
return 0;
|
||||||
} catch (Throwable e) {
|
} 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);
|
Log.severe(e);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,9 @@ public enum MinecraftVersion {
|
|||||||
v1_17_1(756, "1.17.1"),
|
v1_17_1(756, "1.17.1"),
|
||||||
|
|
||||||
v1_18_to_1_18_1(757, "1.18", "1.18.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;
|
// IMPORTANT: don't forget to update the versionMergeDisplay value when adding a new version;
|
||||||
|
|
||||||
private static Map<EnumSet<MinecraftVersion>, List<String>> versionMergeDisplay;
|
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>
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<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>
|
<paper.version>1.18.1-R0.1</paper.version>
|
||||||
<mc.version>1.18.1</mc.version>
|
<mc.version>1.18.1</mc.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
Loading…
Reference in New Issue
Block a user