From 1f44b3169e6b5b160baf9cb8d38dd9aa65f84c19 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Thu, 21 May 2026 13:05:16 +0200 Subject: [PATCH] Remove unused stuff --- .../de/steamwar/techhider/QuadFunction.java | 24 ------------------- .../src/de/steamwar/techhider/TechHider.java | 2 +- 2 files changed, 1 insertion(+), 25 deletions(-) delete mode 100644 SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/QuadFunction.java diff --git a/SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/QuadFunction.java b/SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/QuadFunction.java deleted file mode 100644 index 43df8d3b..00000000 --- a/SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/QuadFunction.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * This file is a part of the SteamWar software. - * - * Copyright (C) 2026 SteamWar.de-Serverteam - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -package de.steamwar.techhider; - -public interface QuadFunction { - Return apply(A a, B b, C c, D d); -} \ No newline at end of file diff --git a/SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/TechHider.java b/SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/TechHider.java index 43d27615..8ed5b0f7 100644 --- a/SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/TechHider.java +++ b/SpigotCore/SpigotCore_Main/src/de/steamwar/techhider/TechHider.java @@ -354,7 +354,7 @@ public abstract class TechHider { processors.put(ClientboundRemoveMobEffectPacket.class, this.buildEntityPacketProcessor(ClientboundRemoveMobEffectPacket::entityId)); // 7.1.98 Set Entity Metadata: entity state can reveal blocks/items/displays. processors.put(ClientboundSetEntityDataPacket.class, this.buildEntityPacketProcessor(ClientboundSetEntityDataPacket::id)); - // 7.1.26 Damage Event: entity ids and damage source location can leak hidde activity. + // 7.1.26 Damage Event: entity ids and damage source location can leak hide activity. processors.put(ClientboundDamageEventPacket.class, this.buildEntityPacketProcessor(ClientboundDamageEventPacket::entityId)); // 7.1.54 Move Minecart Along Track: entity path and position signal. processors.put(ClientboundMoveMinecartPacket.class, this.buildEntityPacketProcessor(ClientboundMoveMinecartPacket::entityId));