geforkt von Mirrors/FastAsyncWorldEdit
feat: Add support for 1.19.1 (#1887)
Dieser Commit ist enthalten in:
Ursprung
e10774598e
Commit
50ee45fedd
@ -183,8 +183,8 @@ public final class PaperweightAdapter implements BukkitImplAdapter<net.minecraft
|
|||||||
CraftServer.class.cast(Bukkit.getServer());
|
CraftServer.class.cast(Bukkit.getServer());
|
||||||
|
|
||||||
int dataVersion = CraftMagicNumbers.INSTANCE.getDataVersion();
|
int dataVersion = CraftMagicNumbers.INSTANCE.getDataVersion();
|
||||||
if (dataVersion != 3105) {
|
if (dataVersion != 3105 && dataVersion != 3117) {
|
||||||
throw new UnsupportedClassVersionError("Not 1.19!");
|
throw new UnsupportedClassVersionError("Not 1.19 or 1.19.1!");
|
||||||
}
|
}
|
||||||
|
|
||||||
worldsField = CraftServer.class.getDeclaredField("worlds");
|
worldsField = CraftServer.class.getDeclaredField("worlds");
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren