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

world unloads event not possible #2051

Closed
mindw0rm opened this issue Sep 28, 2019 · 1 comment
Closed

world unloads event not possible #2051

mindw0rm opened this issue Sep 28, 2019 · 1 comment

Comments

@mindw0rm
Copy link

The output of /version on my server is: This server is running CraftBukkit version git-Spigot-94af569-6ddeb98 (MC: 1.14.4) (Implementing API version 1.14.4-R0.1-SNAPSHOT)
The output of /version denizen on my server is: Denizen version 1.1.0-SNAPSHOT (build 1688-REL)

The issue is:
The event world unloads will not match.
The reason is obvious when you look in the code:
return path.eventArgLowerAt(1).equals("saves");
(https://github.com/DenizenScript/Denizen/blob/release/plugin/src/main/java/com/denizenscript/denizen/events/world/WorldUnloadsScriptEvent.java#L43 and also https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/world/WorldUnloadsScriptEvent.java#L43)
Looks like a copy/paste error.

@mcmonkey4eva
Copy link
Member

Yep, good catch. Thanks!

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