Skip to content

Commit

Permalink
don't remove default server lists on servers
Browse files Browse the repository at this point in the history
  • Loading branch information
Taskeren committed Dec 31, 2024
1 parent 7523d07 commit f512d80
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
package cn.elytra.mod.gtnn.rewind.module.no_default_server_list

import cn.elytra.mod.gtnn.rewind.IModule
import cpw.mods.fml.common.FMLCommonHandler
import cpw.mods.fml.common.event.FMLPreInitializationEvent
import cpw.mods.fml.relauncher.Side
import net.minecraft.client.multiplayer.ServerData
import net.minecraftforge.common.config.Configuration
import org.apache.logging.log4j.LogManager

object ModAntiDefaultServerList : IModule {

override val enabled: Boolean = true
override val enabled: Boolean = FMLCommonHandler.instance().side == Side.CLIENT

override fun readConfig(configuration: Configuration) {
}
Expand Down

0 comments on commit f512d80

Please sign in to comment.