Skip to content

Commit

Permalink
Added velocity support .2
Browse files Browse the repository at this point in the history
  • Loading branch information
Minemobs committed Jun 6, 2024
1 parent 84f6020 commit a2d1167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/fr/sunderia/bomberman/Bomberman.kt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ import java.util.logging.Logger

fun main() {
val game = Bomberman()
if(System.getenv().containsKey("VELOCITY_SECRET")) VelocityProxy.enable(System.getenv("VELOCITY_SECRET"))
val mc = MinecraftServer.init()
game.initialize()
mc.start("0.0.0.0", 25565)
Expand Down Expand Up @@ -83,7 +84,6 @@ class Bomberman {
lobbyInstance = lobbyContainer
OpenToLAN.open()
//MojangAuth.init()
if(System.getenv().containsKey("VELOCITY_SECRET")) VelocityProxy.enable(System.getenv("VELOCITY_SECRET"))
registerListeners(lobbyContainer)
val commandManager = MinecraftServer.getCommandManager()
commandManager.register(PartyCommand())
Expand Down

0 comments on commit a2d1167

Please sign in to comment.