From 0a6eccf70fcf0f2498f145492079f94d20e02005 Mon Sep 17 00:00:00 2001 From: zOnlyKroks Date: Sat, 6 Aug 2022 20:56:23 +0200 Subject: [PATCH] Variable naming --- .../src/de/steamwar/network/handlers/ServerDataHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SpigotCore_Main/src/de/steamwar/network/handlers/ServerDataHandler.java b/SpigotCore_Main/src/de/steamwar/network/handlers/ServerDataHandler.java index 940c48c..0882560 100644 --- a/SpigotCore_Main/src/de/steamwar/network/handlers/ServerDataHandler.java +++ b/SpigotCore_Main/src/de/steamwar/network/handlers/ServerDataHandler.java @@ -8,10 +8,10 @@ import org.bukkit.entity.Player; public class ServerDataHandler { - private Class explosionPacket = Reflection.getClass("{nms.network.protocol.game}.ClientboundServerDataPacket"); + private Class serverDataPacket = Reflection.getClass("{nms.network.protocol.game}.ClientboundServerDataPacket"); public ServerDataHandler() { - TinyProtocol.instance.addFilter(explosionPacket, this::packetFilter); + TinyProtocol.instance.addFilter(serverDataPacket, this::packetFilter); } private Object packetFilter(Player player, Object o) {