From 56f87288904fe5433318d24672d81a2015ead45a Mon Sep 17 00:00:00 2001 From: thiccaxe <51303986+thiccaxe@users.noreply.github.com> Date: Sun, 4 Apr 2021 19:53:01 -0700 Subject: [PATCH] Fix Deprecation of ResponseDataConsumer --- src/main/java/net/minestom/server/MinecraftServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minestom/server/MinecraftServer.java b/src/main/java/net/minestom/server/MinecraftServer.java index c09bed0bc..557475e86 100644 --- a/src/main/java/net/minestom/server/MinecraftServer.java +++ b/src/main/java/net/minestom/server/MinecraftServer.java @@ -135,7 +135,7 @@ public final class MinecraftServer { private static int compressionThreshold = 256; private static boolean packetCaching = true; private static boolean groupedPacket = true; - @Deprecated private static ResponseDataConsumer responseDataConsumer; + private static ResponseDataConsumer responseDataConsumer; private static String brandName = "Minestom"; private static Difficulty difficulty = Difficulty.NORMAL; private static LootTableManager lootTableManager;