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

Error when just one player is online and sleeping #21

Closed
iperrealistico opened this issue Jun 29, 2019 · 1 comment
Closed

Error when just one player is online and sleeping #21

iperrealistico opened this issue Jun 29, 2019 · 1 comment

Comments

@iperrealistico
Copy link

As far as i know the plugin seems to be working fine.. i had some issues but they are now fixed. But when a player is alone on the server and tries to sleep, an error appears in console.

[14:47:47 INFO]: jlrcraft is now sleeping (0 needed to skip the night).
[14:47:47 WARN]: Exception in thread "Timer-6" java.lang.IllegalStateException: WeatherChangeEvent may only be triggered synchronously.
[14:47:47 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:524)
[14:47:47 WARN]: at net.minecraft.server.v1_14_R1.WorldData.setStorm(WorldData.java:556)
[14:47:47 WARN]: at org.bukkit.craftbukkit.v1_14_R1.CraftWorld.setStorm(CraftWorld.java:1207)
[14:47:47 WARN]: at mykyta.Harbor.Util$1.run(Util.java:208)
[14:47:47 WARN]: at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
[14:47:47 WARN]: at java.base/java.util.TimerThread.run(Timer.java:506)

Running on Paper 97

@nkomarn
Copy link
Owner

nkomarn commented Jun 29, 2019

Duplicate of #17 and will be fixed in the next update.

@nkomarn nkomarn closed this as completed Jun 29, 2019
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

2 participants