Move to Paper 1.18

This commit is contained in:
NotMyFault 2021-11-30 18:04:47 +01:00
parent e296a329c2
commit d3aaf7acff
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ guava = "31.0.1-jre"
gson = "2.8.8"
# Platform expectations
paper = "1.18-rc3-R0.1-SNAPSHOT"
paper = "1.18-R0.1-SNAPSHOT"
# Plugins
vault = "1.7.1"

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!");
}