From d850db4065a69c052b3f74430214c35cba5b4b90 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 29 Mar 2022 16:38:44 +0200 Subject: [PATCH 1/3] 1.18.2 fix --- SpigotCore_18/src/de/steamwar/core/CraftbukkitWrapper18.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SpigotCore_18/src/de/steamwar/core/CraftbukkitWrapper18.java b/SpigotCore_18/src/de/steamwar/core/CraftbukkitWrapper18.java index 594fbac..9f7aa13 100644 --- a/SpigotCore_18/src/de/steamwar/core/CraftbukkitWrapper18.java +++ b/SpigotCore_18/src/de/steamwar/core/CraftbukkitWrapper18.java @@ -22,8 +22,8 @@ package de.steamwar.core; import net.minecraft.network.protocol.game.ClientboundLevelChunkWithLightPacket; import net.minecraft.server.MinecraftServer; import net.minecraft.world.level.chunk.Chunk; -import org.bukkit.craftbukkit.v1_18_R1.CraftChunk; -import org.bukkit.craftbukkit.v1_18_R1.entity.CraftPlayer; +import org.bukkit.craftbukkit.v1_18_R2.CraftChunk; +import org.bukkit.craftbukkit.v1_18_R2.entity.CraftPlayer; import org.bukkit.entity.Player; public class CraftbukkitWrapper18 implements CraftbukkitWrapper.ICraftbukkitWrapper { From 7a97d41fd0d3b80d6d792f5f2ca8554da2e6afac Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 30 Mar 2022 10:30:33 +0200 Subject: [PATCH 2/3] Add ignores --- SpigotCore_Main/src/de/steamwar/core/ErrorHandler.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SpigotCore_Main/src/de/steamwar/core/ErrorHandler.java b/SpigotCore_Main/src/de/steamwar/core/ErrorHandler.java index 2b49104..94fe313 100644 --- a/SpigotCore_Main/src/de/steamwar/core/ErrorHandler.java +++ b/SpigotCore_Main/src/de/steamwar/core/ErrorHandler.java @@ -142,6 +142,8 @@ public class ErrorHandler extends Handler { startsWith.add("Ignoring plugin channel"); startsWith.add("Ignoring incoming plugin"); startsWith.add("This version of Minecraft is extremely outdated"); + startsWith.add("Custom worlds heights are NOT SUPPORTED for 1.16 players and older"); + startsWith.add("You have min/max set to -64/384"); ignoreStartsWith = Collections.unmodifiableList(startsWith); List contains = new ArrayList<>(); @@ -149,6 +151,7 @@ public class ErrorHandler extends Handler { contains.add("moved wrongly!"); contains.add("was kicked for floating too long!"); contains.add("just tried to change non-editable sign"); + contains.add("about their usage of System.out/err.print"); ignoreContains = Collections.unmodifiableList(contains); } } From b2549add5e00298f3e0c59bc5bc5e719e9604886 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 30 Mar 2022 16:25:24 +0200 Subject: [PATCH 3/3] Fix AnvilGUI 1.18 --- SpigotCore_Main/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpigotCore_Main/build.gradle b/SpigotCore_Main/build.gradle index faeb028..3184be9 100644 --- a/SpigotCore_Main/build.gradle +++ b/SpigotCore_Main/build.gradle @@ -58,7 +58,7 @@ dependencies { compileOnly 'com.mojang:authlib:1.5.25' compileOnly 'mysql:mysql-connector-java:5.1.49' compileOnly files("${project.rootDir}/lib/WorldEdit-1.12.jar") - implementation 'net.wesjd:anvilgui:1.4.0-SNAPSHOT' + implementation 'net.wesjd:anvilgui:1.5.3-SNAPSHOT' compileOnly 'org.projectlombok:lombok:1.18.22' testCompileOnly 'org.projectlombok:lombok:1.18.22'