From b83476b4514bd24c377a3662a2857b4ceb317a93 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Sat, 16 May 2026 12:28:52 +0200 Subject: [PATCH] Fix TechhiderbugCommand --- .../de/steamwar/fightsystem/commands/TechhiderbugCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/commands/TechhiderbugCommand.java b/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/commands/TechhiderbugCommand.java index d97103ed..6e89d727 100644 --- a/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/commands/TechhiderbugCommand.java +++ b/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/commands/TechhiderbugCommand.java @@ -70,7 +70,7 @@ public class TechhiderbugCommand implements CommandExecutor { writer.append(TinyProtocol.instance.toString()).append('\n'); writer.append('\n').append("Netty pipelines:\n"); - Bukkit.getOnlinePlayers().forEach(p -> writer.append(p.getName()).append(": ").append(String.join(" ", TinyProtocol.instance.getPlayerInterceptors().get(p).getChannel().pipeline().names())).append('\n')); + Bukkit.getOnlinePlayers().forEach(p -> writer.append(p.getName()).append(": ").append(String.join(" ", TinyProtocol.instance.getChannel(p).pipeline().names())).append('\n')); } catch (Exception e) { writer.append("Error while generating bug report: ").append(e.getMessage()).append('\n'); Bukkit.getLogger().log(Level.SEVERE, "Error while generating bug report", e);