Skip to content

Commit b97ba45

Browse files
committed
feat: update nms to 26.1, changed the warning for running unsupported mc versions
1 parent 7960c89 commit b97ba45

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ placeholderapi = "2.11.5"
2020

2121
# takenka
2222
takenaka = "1.2.1-SNAPSHOT"
23-
mappings = "1.8.8+1.21.11"
23+
mappings = "1.8.8+26.1"
2424

2525
# gradle plugins
2626
screaming-plugin-builder = "2.0.0"

nms/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies {
1212
accessors {
1313
// uncomment this and remove the mappingBundle dependency,
1414
// if you want to develop against custom versions
15-
/*versionRange("1.8.8", "1.21.11") {
15+
/*versionRange("1.8.8", "26.1") {
1616
// exclude 1.20, 1.20.3, 1.20.5 and 1.21.2 - hotfixed versions
1717
// exclude 1.16 and 1.10.1, they don't have most mappings and are basically not used at all
1818
// exclude 1.8.9, client-only update - no Spigot mappings, no thank you

plugin/src/main/java/org/screamingsandals/bedwars/utils/VersionFallback.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,8 @@ public static void applyFallbackIfNeeded() {
6969
}
7070

7171
MapperPlatforms.setCurrentPlatform(MapperPlatform.create(latest, MapperPlatforms.getCurrentPlatform().getClassLoader(), mappingNamespaces));
72-
Bukkit.getLogger().warning("[BedWars] ==========================");
7372
Bukkit.getLogger().warning("[BedWars] This Minecraft version (" + version + ") is newer than the latest supported version (" + latest + ").");
74-
Bukkit.getLogger().warning("[BedWars] Attempting to use the latest known mappings. This is only safe if the newer Minecraft version is a bugfix release.");
75-
Bukkit.getLogger().warning("[BedWars] Unless we confirm compatibility, do NOT run this version and wait for an update.");
76-
Bukkit.getLogger().warning("[BedWars] ==========================");
73+
Bukkit.getLogger().warning("[BedWars] Compatibility is unknown. Check for updates or official support confirmation.");
7774
Bukkit.getLogger().info("[BedWars] Loaded fallback NMS modules for " + latest + " in namespaces " + Arrays.toString(mappingNamespaces));
7875
}
7976

0 commit comments

Comments
 (0)