From e1f53934fa8a798b18ee4519510bec8e450632e6 Mon Sep 17 00:00:00 2001 From: N0tMyFaultOG Date: Tue, 25 Aug 2020 15:19:33 +0200 Subject: [PATCH] Fix nms --- .../fawe/bukkit/adapter/mc1_16_2/BukkitAdapter_1_16_2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/adapter/mc1_16_2/BukkitAdapter_1_16_2.java b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/adapter/mc1_16_2/BukkitAdapter_1_16_2.java index 4a7eecf3e..c596e12fe 100644 --- a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/adapter/mc1_16_2/BukkitAdapter_1_16_2.java +++ b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/adapter/mc1_16_2/BukkitAdapter_1_16_2.java @@ -87,7 +87,7 @@ public final class BukkitAdapter_1_16_2 extends NMSAdapter { fieldNonEmptyBlockCount = ChunkSection.class.getDeclaredField("nonEmptyBlockCount"); fieldNonEmptyBlockCount.setAccessible(true); - fieldDirtyCount = PlayerChunk.class.getDeclaredField("dirtyCount"); + fieldDirtyCount = PlayerChunk.class.getDeclaredField("s"); fieldDirtyCount.setAccessible(true); fieldDirtyBits = PlayerChunk.class.getDeclaredField("r"); fieldDirtyBits.setAccessible(true);