mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +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"
|
gson = "2.8.8"
|
||||||
|
|
||||||
# Platform expectations
|
# Platform expectations
|
||||||
paper = "1.18-rc3-R0.1-SNAPSHOT"
|
paper = "1.18-R0.1-SNAPSHOT"
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
vault = "1.7.1"
|
vault = "1.7.1"
|
||||||
|
@ -12,7 +12,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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.paperlib)
|
||||||
compileOnly(libs.paper)
|
compileOnly(libs.paper)
|
||||||
}
|
}
|
||||||
|
@ -186,7 +186,7 @@ public final class PaperweightAdapter implements BukkitImplAdapter {
|
|||||||
CraftServer.class.cast(Bukkit.getServer());
|
CraftServer.class.cast(Bukkit.getServer());
|
||||||
|
|
||||||
int dataVersion = CraftMagicNumbers.INSTANCE.getDataVersion();
|
int dataVersion = CraftMagicNumbers.INSTANCE.getDataVersion();
|
||||||
if (dataVersion != 2858) { // 1.18 release should be 2859
|
if (dataVersion != 2860) {
|
||||||
throw new UnsupportedClassVersionError("Not 1.18!");
|
throw new UnsupportedClassVersionError("Not 1.18!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user