mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-10-31 18:07:12 +00:00
Move to Paper 1.18
This commit is contained in:
parent
e296a329c2
commit
d3aaf7acff
@ -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"
|
||||
|
@ -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)
|
||||
}
|
||||
|
@ -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!");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user