[Bukkit] 1.19.2 DV.
Assuming spigot doesn't decide to randomly break things, this should work when it releases.
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -179,8 +179,8 @@ public final class PaperweightAdapter implements BukkitImplAdapter {
|
||||
CraftServer.class.cast(Bukkit.getServer());
|
||||
|
||||
int dataVersion = CraftMagicNumbers.INSTANCE.getDataVersion();
|
||||
if (dataVersion != 3105 && dataVersion != 3117) {
|
||||
throw new UnsupportedClassVersionError("Not 1.19(.1)!");
|
||||
if (dataVersion != 3105 && dataVersion != 3117 && dataVersion != 3120) {
|
||||
throw new UnsupportedClassVersionError("Not 1.19(.1/.2)!");
|
||||
}
|
||||
|
||||
serverWorldsField = CraftServer.class.getDeclaredField("worlds");
|
||||
|
||||
Reference in new issue
Block a user