File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
proxy-velocity/src/main/kotlin/app/simplecloud/plugin/proxy/velocity/handler Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 11package app.simplecloud.plugin.proxy.velocity.handler
22
3- import app.simplecloud.plugin.proxy.shared.config.tablis.TabList
4- import app.simplecloud.plugin.proxy.shared.config.tablis.TabListGroup
53import app.simplecloud.plugin.proxy.velocity.ProxyVelocityPlugin
64import com.velocitypowered.api.proxy.Player
75import com.velocitypowered.api.scheduler.ScheduledTask
@@ -61,14 +59,17 @@ class TabListHandler(
6159 }
6260 }
6361
64- if (tabListGroup == null ) {
65- tabListGroup = TabListGroup (
66- " noValuedGroupOrServiceConfigurationsFround" ,
67- listOf (TabList (
68- listOf (" <red>No configuration found for this service" ),
69- listOf (" <red>Please check your configuration file from the proxy plugin in the plugins folder" ),
70- ))
71- )
62+ if (tabListGroup == null || tabListGroup.tabLists.isEmpty()) {
63+ // tabListGroup = TabListGroup(
64+ // "noValuedGroupOrServiceConfigurationsFround",
65+ // listOf(
66+ // TabList(
67+ // listOf("<red>No configuration found for this service"),
68+ // listOf("<red>Please check your configuration file from the proxy plugin in the plugins folder"),
69+ // )
70+ // )
71+ // )
72+ return
7273 }
7374
7475 if (tabListGroup.tabLists.size <= tabListIndex.getOrDefault(tabListGroup.groupOrService, 0 ) + 1 )
You can’t perform that action at this time.
0 commit comments