diff --git a/SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/TechHider.java b/SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/TechHider.java index b06959c2..1f749c9e 100644 --- a/SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/TechHider.java +++ b/SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/TechHider.java @@ -83,7 +83,7 @@ public class TechHider { techhiders.put(multiBlockChangePacket, ProtocolWrapper.impl.multiBlockChangeGenerator(this)); techhiders.put(ChunkHider.impl.mapChunkPacket(), ChunkHider.impl.chunkHiderGenerator(this)); - if(Core.getVersion() > 12) { + if(Core.getVersion() > 12 && Core.getVersion() < 19 || Core.getVersion() >= 21) { Class blockBreakClass = Reflection.getClass("net.minecraft.network.protocol.game.ClientboundBlockDestructionPacket"); BiFunction blockBreakHider = ProtocolWrapper.impl.blockBreakHiderGenerator(blockBreakClass, this); if(blockBreakHider != null)