Changing difficulty from peaceful to easy in Skript needs a server restart #3834
Labels
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
completed
The issue has been fully resolved and the change will be in the next Skript update.
priority: low
Issues that are not harmful to the experience but are related to useful changes or additions.
Description
I have a script that allows the players to vote on difficulty changes and it sometimes doesn't work. I believe something is broken in Skript.
Steps to Reproduce
difficulty=peaceful
in server.properties, or run/difficulty peaceful
on an already running server and stop the server, so that the test world would be set to peaceful.or:
/time set night
and then/test easy
/difficulty easy
says that the world is already set to easy.And the same scenario without using Skript:
/difficulty easy
.And then:
/difficulty peaceful
./test easy
- again, nothing happens./test peaceful
and/difficulty easy
- mobs spawn/test peaceful
and/test easy
- this time, when we first changed easy to peaceful in Skript, mobs spawn on change from peaceful to easy/test peaceful
- mobs disappear./test easy
- mobs appearIt seems that there's a bug only on the initial change from peaceful to easy, strange thing.
Expected Behavior
The same as the
/difficulty
commandServer Information
The text was updated successfully, but these errors were encountered: