SteamWar/SpigotCore
Archiviert
13
0

Variable naming
Einige Prüfungen sind fehlgeschlagen
SteamWarCI Build failed

Dieser Commit ist enthalten in:
zOnlyKroks 2022-08-06 20:56:23 +02:00
Ursprung 23c0e507cd
Commit 0a6eccf70f

Datei anzeigen

@ -8,10 +8,10 @@ import org.bukkit.entity.Player;
public class ServerDataHandler { 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() { public ServerDataHandler() {
TinyProtocol.instance.addFilter(explosionPacket, this::packetFilter); TinyProtocol.instance.addFilter(serverDataPacket, this::packetFilter);
} }
private Object packetFilter(Player player, Object o) { private Object packetFilter(Player player, Object o) {