Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Move to Paper 1.18
Dieser Commit ist enthalten in:
Ursprung
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!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren