diff --git a/core/src/main/java/tc/oc/pgm/PGMPlugin.java b/core/src/main/java/tc/oc/pgm/PGMPlugin.java index fdcf625656..f6432b0864 100644 --- a/core/src/main/java/tc/oc/pgm/PGMPlugin.java +++ b/core/src/main/java/tc/oc/pgm/PGMPlugin.java @@ -222,13 +222,13 @@ public void onEnable() { if (config.showTabList()) { matchTabManager = new MatchTabManager(this); + } - if (config.resizeTabList()) { - if (this.getServer().getPluginManager().isPluginEnabled("ProtocolLib")) { - TablistResizer.registerAdapter(this); - } else { - logger.warning("ProtocolLib is required when 'ui.resize' is enabled"); - } + if (config.resizeTabList()) { + if (this.getServer().getPluginManager().isPluginEnabled("ProtocolLib")) { + TablistResizer.registerAdapter(this); + } else { + logger.warning("ProtocolLib is required when 'ui.resize' is enabled"); } }