Move to Paper 1.18

This commit is contained in:
NotMyFault
2021-11-30 18:04:47 +01:00
parent e296a329c2
commit d3aaf7acff
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ repositories {
}
dependencies {
paperDevBundle("1.18-rc3-R0.1-20211129.221606-5")
paperDevBundle("1.18-rc3-R0.1-20211129.221606-5") //TODO 1.18 switch to mainline
compileOnly(libs.paperlib)
compileOnly(libs.paper)
}

View File

@ -186,7 +186,7 @@ public final class PaperweightAdapter implements BukkitImplAdapter {
CraftServer.class.cast(Bukkit.getServer());
int dataVersion = CraftMagicNumbers.INSTANCE.getDataVersion();
if (dataVersion != 2858) { // 1.18 release should be 2859
if (dataVersion != 2860) {
throw new UnsupportedClassVersionError("Not 1.18!");
}