Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
fixed a wrong url
Browse files Browse the repository at this point in the history
  • Loading branch information
celedev97 committed Nov 8, 2023
1 parent 2efdf49 commit 1618acc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/main/java/dev/cele/asa_sm/dto/AsaServerConfigDto.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ class AsaServerConfigDto {
var serverName = ""
var serverPassword = ""
var serverAdminPassword = ""
var serverPort: Int? = 7777
var serverQueryPort: Int? = 27015
var serverMaxPlayers: Int? = 70
var serverPort: Int = 7777
var serverQueryPort: Int = 27015
var serverMaxPlayers: Int = 70
var battlEye = true
var serverSpectatorPassword = ""
var serverLocalIp = ""
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/dev/cele/asa_sm/ui/components/ServerTab.kt
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class ServerTab(val configDto: AsaServerConfigDto) : JPanel() {
}
JButton("Verify/Update Server").apply {
addActionListener {
ProcessFrame.run(SwingUtilities.getWindowAncestor(this) as JFrame, springHelper.steamCMDService.downloadVerifyServerCommand("servers"+File.separator+configDto.guid));
ProcessFrame.run(SwingUtilities.getWindowAncestor(this) as JFrame, springHelper.steamCMDService.downloadVerifyServerCommand(configDto.guid));
}
}.also {
add(it, gbcrow3)
Expand Down Expand Up @@ -249,7 +249,7 @@ class ServerTab(val configDto: AsaServerConfigDto) : JPanel() {

JButton("Start").apply {
addActionListener {
springHelper.commandRunnerService.runCommand(*configDto.command)
springHelper.commandRunnerService.runCommand(*configDto.getCommand)
}
}.also {
add(it, gbcrow5)
Expand Down

0 comments on commit 1618acc

Please sign in to comment.