From 252d6a286645dbd7605dce38e08d853e76243e51 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Tue, 17 Aug 2021 22:43:58 +0100 Subject: [PATCH] Fix nms chunk reference --- .../java/com/plotsquared/bukkit/listener/ChunkListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/ChunkListener.java b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/ChunkListener.java index 60bfceedd..96ea95d31 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/ChunkListener.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/ChunkListener.java @@ -100,7 +100,7 @@ public class ChunkListener implements Listener { this.mustSave = classChunk.getField("mustNotSave"); } } else { - RefClass classChunk = getRefClass("net.minecraft.world.level.chunk"); + RefClass classChunk = getRefClass("net.minecraft.world.level.chunk.Chunk"); this.mustSave = classChunk.getField("mustNotSave"); } } catch (NoSuchFieldException e) {