Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to make changes to Level/World #80

Open
tgwaste opened this issue Feb 22, 2021 · 1 comment
Open

Unable to make changes to Level/World #80

tgwaste opened this issue Feb 22, 2021 · 1 comment

Comments

@tgwaste
Copy link

tgwaste commented Feb 22, 2021

How do you make changes to your level/world? After server restart it goes back to where it was when it was first setup.

I tried
[teleporting to world]
/sw set world
level world
[make changes]
savelevel
done

But that doesn't work and the savelevel command does not provide any output.

@tgwaste tgwaste changed the title Unable to change Level Unable to make changes to Level/World Feb 22, 2021
@tgwaste
Copy link
Author

tgwaste commented Feb 24, 2021

Heres the fix:
"SkyWars.php" line 135 of 216 --62%-- col 19

is not instance of level
if(!$arena->level instanceof Level) {

should be is instance of level
if($arena->level instanceof Level) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant