From 2acb749d02aa3082e2eaaebf583e1d5a0d7b3daf Mon Sep 17 00:00:00 2001 From: Fallen_Breath Date: Fri, 25 Mar 2022 18:55:35 +0800 Subject: [PATCH] rolled back worldedit to v7.2.6 bad mojang upgrades libs in 1.18 snapshot which also affects worldedit binary compatibility --- build.gradle | 8 ++------ src/main/java/carpet/worldedit/CarpetWorldEdit.java | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 5bd89e9f..d17e52ee 100644 --- a/build.gradle +++ b/build.gradle @@ -127,10 +127,6 @@ def projectMod = project(':' + settings.modname) { all { resolutionStrategy { // force world edit to use the same lib as minecraft 1.13.2 - force 'com.google.code.findbugs:jsr305:3.0.1' - force 'com.google.code.gson:gson:2.8.0' - force 'com.google.guava:guava:21.0' - force 'it.unimi.dsi:fastutil:8.2.1' force 'org.apache.logging.log4j:log4j-api:2.8.1' force 'org.apache.logging.log4j:log4j-core:2.8.1' } @@ -170,8 +166,8 @@ def projectMod = project(':' + settings.modname) { } dependencies { // World Edit - compile 'com.sk89q.worldedit:worldedit-core:7.2.10' - worldEditLibs ('com.sk89q.worldedit:worldedit-core:7.2.10') { + compile 'com.sk89q.worldedit:worldedit-core:7.2.7' + worldEditLibs ('com.sk89q.worldedit:worldedit-core:7.2.7') { exclude group: 'com.ibm.icu' // not used in worldedit at all exclude group: 'org.antlr', module: 'antlr4' // only reserves the runtime package exclude group: 'org.yaml' // worldedit only uses yaml stuffs in bukkit diff --git a/src/main/java/carpet/worldedit/CarpetWorldEdit.java b/src/main/java/carpet/worldedit/CarpetWorldEdit.java index a63a19cf..2b8e8e82 100644 --- a/src/main/java/carpet/worldedit/CarpetWorldEdit.java +++ b/src/main/java/carpet/worldedit/CarpetWorldEdit.java @@ -81,7 +81,7 @@ public class CarpetWorldEdit private static final Logger LOGGER = LogManagerCompat.getLogger(); public static final String MOD_ID = "worldedit"; - public static final String VERSION = "7.2.10"; + public static final String VERSION = "7.2.6"; public static final String CUI_PLUGIN_CHANNEL = "cui"; public static final ResourceLocation CUI_IDENTIFIER = new ResourceLocation(CarpetWorldEdit.MOD_ID, CarpetWorldEdit.CUI_PLUGIN_CHANNEL);