From 88ec0ad7db390ab98ed3c187cb8c9805a63fc6e9 Mon Sep 17 00:00:00 2001 From: zOnlyKroks Date: Fri, 14 Jan 2022 12:08:00 +0100 Subject: [PATCH] Performance --- src/de/steamwar/bungeecore/listeners/mods/FMLPing.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/de/steamwar/bungeecore/listeners/mods/FMLPing.java b/src/de/steamwar/bungeecore/listeners/mods/FMLPing.java index 79f28f2..ed460be 100644 --- a/src/de/steamwar/bungeecore/listeners/mods/FMLPing.java +++ b/src/de/steamwar/bungeecore/listeners/mods/FMLPing.java @@ -25,9 +25,7 @@ import java.util.List; public class FMLPing extends ServerPing { - static { - ForgeData forgeData = new ForgeData(); - } + private static final ForgeData data = new ForgeData(); public FMLPing(ServerPing existing) { super(existing.getVersion(), existing.getPlayers(), existing.getDescriptionComponent(), existing.getFaviconObject());