Skip to content

Commit

Permalink
fix missing mkdir in renaming world
Browse files Browse the repository at this point in the history
  • Loading branch information
xathon committed Apr 15, 2022
1 parent 12a6994 commit be5f4b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions msctl
Original file line number Diff line number Diff line change
Expand Up @@ -2875,6 +2875,7 @@ case "$COMMAND" in
mv $WORLDS_LOCATION/$1/* $WORLDS_LOCATION/$2
rm -r $WORLDS_LOCATION/$1
if [ -d $WORLDS_LOCATION/$2/$1 ]; then
mkdir -p $WORLDS_LOCATION/$2/$2
mv $WORLDS_LOCATION/$2/$1/* $WORLDS_LOCATION/$2/$2
rm -r $WORLDS_LOCATION/$2/$1
fi
Expand Down

0 comments on commit be5f4b6

Please sign in to comment.