[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:
wizjany committed 2022-08-05 10:17:28 -04:00
1 parent d2e392246b
commit e01b049265
1 file changed
+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");