rename the MC server command /bridge to CommandMatterlink

This commit is contained in:
DaMachinator 2018-02-08 09:35:12 -05:00 committed by Arcanitor
parent aa4e6d8aa8
commit cbe720ec0f
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ package matterlink
import matterlink.bridge.MessageHandler
import matterlink.bridge.ServerChatHelper
import matterlink.command.BridgeCommand
import matterlink.command.CommandMatterlink
import matterlink.eventhandlers.*
import net.minecraftforge.common.MinecraftForge
import net.minecraftforge.fml.common.Mod
@ -50,7 +50,7 @@ object MatterLink {
@Mod.EventHandler
fun serverStarting(event: FMLServerStartingEvent) {
logger.debug("Registering bridge commands")
event.registerServerCommand(BridgeCommand())
event.registerServerCommand(CommandMatterlink())
MessageHandler.start()
//maybe try registering them manually

View File

@ -9,7 +9,7 @@ import net.minecraft.command.ICommandSender
import net.minecraft.server.MinecraftServer
class BridgeCommand : CommandBase() {
class CommandMatterlink : CommandBase() {
private val aliases: List<String>
init {