mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
parent
e942175559
commit
a414fd308e
@ -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 && dataVersion != 3117) {
|
if (dataVersion != 3105 && dataVersion != 3117 && dataVersion != 3120) {
|
||||||
throw new UnsupportedClassVersionError("Not 1.19 or 1.19.1!");
|
throw new UnsupportedClassVersionError("Not 1.19, 1.19.1 or 1.19.2!");
|
||||||
}
|
}
|
||||||
|
|
||||||
worldsField = CraftServer.class.getDeclaredField("worlds");
|
worldsField = CraftServer.class.getDeclaredField("worlds");
|
||||||
|
Loading…
Reference in New Issue
Block a user