mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-06 16:37:58 +01:00
Fixed extension tabs
This commit is contained in:
parent
8f5e46e9ad
commit
ab758c97ba
@ -98,7 +98,7 @@ public class NetworkPage implements Page {
|
|||||||
});
|
});
|
||||||
|
|
||||||
String nav = JSONCache.getOrCacheString(DataID.EXTENSION_NAV, serverUUID, () -> pluginTabs.get().getNav());
|
String nav = JSONCache.getOrCacheString(DataID.EXTENSION_NAV, serverUUID, () -> pluginTabs.get().getNav());
|
||||||
String tabs = JSONCache.getOrCacheString(DataID.EXTENSION_NAV, serverUUID, () -> pluginTabs.get().getTabs());
|
String tabs = JSONCache.getOrCacheString(DataID.EXTENSION_TABS, serverUUID, () -> pluginTabs.get().getTabs());
|
||||||
|
|
||||||
placeholders.put("navPluginsTabs", nav);
|
placeholders.put("navPluginsTabs", nav);
|
||||||
placeholders.put("tabsPlugins", StringUtils.remove(tabs, "${backButton}"));
|
placeholders.put("tabsPlugins", StringUtils.remove(tabs, "${backButton}"));
|
||||||
|
@ -134,7 +134,7 @@ public class ServerPage implements Page {
|
|||||||
});
|
});
|
||||||
|
|
||||||
String nav = JSONCache.getOrCacheString(DataID.EXTENSION_NAV, serverUUID, () -> pluginTabs.get().getNav());
|
String nav = JSONCache.getOrCacheString(DataID.EXTENSION_NAV, serverUUID, () -> pluginTabs.get().getNav());
|
||||||
String tabs = JSONCache.getOrCacheString(DataID.EXTENSION_NAV, serverUUID, () -> pluginTabs.get().getTabs());
|
String tabs = JSONCache.getOrCacheString(DataID.EXTENSION_TABS, serverUUID, () -> pluginTabs.get().getTabs());
|
||||||
|
|
||||||
placeholders.put("navPluginsTabs", nav);
|
placeholders.put("navPluginsTabs", nav);
|
||||||
placeholders.put("tabsPlugins", tabs);
|
placeholders.put("tabsPlugins", tabs);
|
||||||
|
Loading…
Reference in New Issue
Block a user