From 3773d3cefcd7c99190e9651ed54ae0cbbde95f41 Mon Sep 17 00:00:00 2001 From: zOnlyKroks Date: Sun, 9 Jan 2022 09:29:45 +0100 Subject: [PATCH] Performance --- src/de/steamwar/bungeecore/listeners/mods/FMLPing.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/listeners/mods/FMLPing.java b/src/de/steamwar/bungeecore/listeners/mods/FMLPing.java index 56edfc2..79f28f2 100644 --- a/src/de/steamwar/bungeecore/listeners/mods/FMLPing.java +++ b/src/de/steamwar/bungeecore/listeners/mods/FMLPing.java @@ -24,7 +24,10 @@ import java.util.ArrayList; import java.util.List; public class FMLPing extends ServerPing { - private final ForgeData forgeData = new ForgeData(); + + static { + ForgeData forgeData = new ForgeData(); + } public FMLPing(ServerPing existing) { super(existing.getVersion(), existing.getPlayers(), existing.getDescriptionComponent(), existing.getFaviconObject());