Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-06 16:12:51 +02:00
Add support for 1.20.1
Dieser Commit ist enthalten in:
Ursprung
dae6c69e54
Commit
d9463ce8b5
@ -182,8 +182,8 @@ public final class PaperweightAdapter implements BukkitImplAdapter<net.minecraft
|
||||
CraftServer.class.cast(Bukkit.getServer());
|
||||
|
||||
int dataVersion = CraftMagicNumbers.INSTANCE.getDataVersion();
|
||||
if (dataVersion != 3463) {
|
||||
throw new UnsupportedClassVersionError("Not 1.20!");
|
||||
if (dataVersion != 3463 && dataVersion != 3465) {
|
||||
throw new UnsupportedClassVersionError("Not 1.20(.1)!");
|
||||
}
|
||||
|
||||
serverWorldsField = CraftServer.class.getDeclaredField("worlds");
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren