Fixed extension tabs

This commit is contained in:
Rsl1122 2019-09-28 10:58:32 +03:00
parent 8f5e46e9ad
commit ab758c97ba
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ public class NetworkPage implements Page {
});
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("tabsPlugins", StringUtils.remove(tabs, "${backButton}"));

View File

@ -134,7 +134,7 @@ public class ServerPage implements Page {
});
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("tabsPlugins", tabs);