From 1c5015adf49e173661aa474e477909d775780673 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 10 Oct 2023 18:15:50 +0200 Subject: [PATCH] Add TPSWarpUtils --- SpigotCore_Main/src/de/steamwar/core/ProtocolWrapper.java | 1 - 1 file changed, 1 deletion(-) diff --git a/SpigotCore_Main/src/de/steamwar/core/ProtocolWrapper.java b/SpigotCore_Main/src/de/steamwar/core/ProtocolWrapper.java index 89cb1ea..d803970 100644 --- a/SpigotCore_Main/src/de/steamwar/core/ProtocolWrapper.java +++ b/SpigotCore_Main/src/de/steamwar/core/ProtocolWrapper.java @@ -45,7 +45,6 @@ public interface ProtocolWrapper { Object playerInfoPacketConstructor(PlayerInfoAction action, GameProfile profile, GameMode mode); default void initTPSWarp(LongSupplier longSupplier) { - if (Core.getVersion() > 19) return; Class systemUtils = Reflection.getClass("{nms}.SystemUtils"); Reflection.getField(systemUtils, LongSupplier.class, 0).set(systemUtils, longSupplier); }