From 6e4452ff563030039a4e5734af9aebf6c083b0e7 Mon Sep 17 00:00:00 2001
From: Flowsqy <47575244+Flowsqy@users.noreply.github.com>
Date: Tue, 30 Apr 2024 14:25:07 +0200
Subject: [PATCH] Add 1.20.6 support
---
nms/v1_20_R4/pom.xml | 2 +-
.../java/de/epiceric/shopchest/nms/PlatformLoader.java | 7 ++++---
pom.xml | 2 +-
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/nms/v1_20_R4/pom.xml b/nms/v1_20_R4/pom.xml
index 6dac22a7..14babbcd 100644
--- a/nms/v1_20_R4/pom.xml
+++ b/nms/v1_20_R4/pom.xml
@@ -13,7 +13,7 @@
1.0.0
- 1.20.5-R0.1-SNAPSHOT
+ 1.20.6-R0.1-SNAPSHOT
diff --git a/plugin/src/main/java/de/epiceric/shopchest/nms/PlatformLoader.java b/plugin/src/main/java/de/epiceric/shopchest/nms/PlatformLoader.java
index 2e8f07b6..f438c2c0 100644
--- a/plugin/src/main/java/de/epiceric/shopchest/nms/PlatformLoader.java
+++ b/plugin/src/main/java/de/epiceric/shopchest/nms/PlatformLoader.java
@@ -93,11 +93,12 @@ private Platform getSpecificPlatform(String mappingsVersion) {
case "34f399b4f2033891290b7f0700e9e47b": // 1.20
case "bcf3dcb22ad42792794079f9443df2c0": // 1.20.1 (v1_20_R1)
return new de.epiceric.shopchest.nms.v1_20_R1.PlatformImpl();
- case "3478a65bfd04b15b431fe107b3617dfc": //1.20.2
+ case "3478a65bfd04b15b431fe107b3617dfc": // 1.20.2 (v1_20_R2)
return new de.epiceric.shopchest.nms.v1_20_R2.PlatformImpl();
- case "60a2bb6bf2684dc61c56b90d7c41bddc": //1.20.4 (1.20.3 virtually does not exist)
+ case "60a2bb6bf2684dc61c56b90d7c41bddc": // 1.20.4 (1.20.3 virtually does not exist)
return new de.epiceric.shopchest.nms.v1_20_R3.PlatformImpl();
- case "ad1a88fd7eaf2277f2507bf34d7b994c": // 1.20.5
+ case "ad1a88fd7eaf2277f2507bf34d7b994c": // 1.20.5 (Replaced by 1.20.6)
+ case "ee13f98a43b9c5abffdcc0bb24154460": // 1.20.6 (v1_20_R4)
return new de.epiceric.shopchest.nms.v1_20_R4.PlatformImpl();
default:
return null;
diff --git a/pom.xml b/pom.xml
index 6818a801..01ca1f02 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,7 +123,7 @@
org.spigotmc
spigot-api
- 1.20.5-R0.1-SNAPSHOT
+ 1.20.6-R0.1-SNAPSHOT
provided