From d632c642ff08d15d48908f30cdc41fadfd06af54 Mon Sep 17 00:00:00 2001 From: Hannes Greule Date: Mon, 22 Feb 2021 11:11:13 +0100 Subject: [PATCH] Don't add entities to chunk on regen (#927) Co-authored-by: NotMyFault --- .../bukkit/adapter/impl/regen/Regen_v1_16_R3.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/regen/Regen_v1_16_R3.java b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/regen/Regen_v1_16_R3.java index 312a3a51c..a66e15bce 100644 --- a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/regen/Regen_v1_16_R3.java +++ b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/regen/Regen_v1_16_R3.java @@ -70,6 +70,7 @@ import java.io.IOException; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.nio.file.Path; +import java.util.Collections; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; @@ -303,6 +304,12 @@ public class Regen_v1_16_R3 extends Regenerator y() { + return Collections.emptyList(); + } }; }