mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Fixed deactivating/activating a world changing file permissions to root.
This commit is contained in:
parent
ee5589bac0
commit
9664c094e0
2
init/msm
2
init/msm
@ -330,6 +330,7 @@ world_backup() {
|
||||
# Activates a world
|
||||
# $1: The ID of the world
|
||||
world_activate() {
|
||||
server_property "${WORLD_SERVER_ID[$1]}" USERNAME
|
||||
world_property "$1" INACTIVE_PATH
|
||||
world_property "$1" ACTIVE_PATH
|
||||
|
||||
@ -350,6 +351,7 @@ world_activate() {
|
||||
# Deactivates a world
|
||||
# $1: The ID of the world
|
||||
world_deactivate() {
|
||||
server_property "${WORLD_SERVER_ID[$1]}" USERNAME
|
||||
world_property "$1" ACTIVE_PATH
|
||||
world_property "$1" INACTIVE_PATH
|
||||
world_property "$1" PATH
|
||||
|
Loading…
x
Reference in New Issue
Block a user