mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Update Paperweight
This commit is contained in:
parent
6d295bde9a
commit
026b2eca9c
@ -181,8 +181,8 @@ public final class PaperweightAdapter implements BukkitImplAdapter<net.minecraft
|
||||
CraftServer.class.cast(Bukkit.getServer());
|
||||
|
||||
int dataVersion = CraftMagicNumbers.INSTANCE.getDataVersion();
|
||||
if (dataVersion != 3698) {
|
||||
throw new UnsupportedClassVersionError("Not 1.20.4");
|
||||
if (dataVersion != 3698 && dataVersion != 3700) {
|
||||
throw new UnsupportedClassVersionError("Not 1.20.(3/4)!");
|
||||
}
|
||||
|
||||
serverWorldsField = CraftServer.class.getDeclaredField("worlds");
|
||||
|
Loading…
Reference in New Issue
Block a user