From 9240bcfd5f43b497d0b08477321e5763d5efdc98 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Thu, 21 May 2026 20:57:59 +0200 Subject: [PATCH] Add blockUsedForObfuscation --- .../SpigotCore_Main/src/de/steamwar/techhider/ChunkHider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/ChunkHider.java b/SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/ChunkHider.java index 01a0fdfe..2c9bc074 100644 --- a/SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/ChunkHider.java +++ b/SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/ChunkHider.java @@ -56,10 +56,10 @@ public abstract class ChunkHider { private final byte BITS_PER_LONG = 64; - private final int blockIdUsedForHiding = 315; + private final int blockIdUsedForHiding; public ChunkHider(Block blockUsedForObfuscation) { - // blockIdUsedForHiding = Block.BLOCK_STATE_REGISTRY.getId(blockUsedForObfuscation.defaultBlockState()); + blockIdUsedForHiding = Block.BLOCK_STATE_REGISTRY.getId(blockUsedForObfuscation.defaultBlockState()); } private int getLongsRequiredToEncodeEntries(int bitsPerEntry, int entryCount) {