Skip to content

Commit

Permalink
Load before worlds do.
Browse files Browse the repository at this point in the history
When worlds first load, events start happening before plugins normally
(POSTWORLD) enable. This means that regions and other protections won't
be active when these events are called.

This shouldn't break anything that depends on us, e.g. custom flags,
since our API contract already states that should be done on load,
and all plugins are loaded on startup (just not enabled).
  • Loading branch information
wizjany committed Apr 6, 2019
1 parent 44c4e58 commit 397a71a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions worldguard-legacy/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: WorldGuard
main: com.sk89q.worldguard.bukkit.WorldGuardPlugin
version: "${project.internalVersion}"
load: STARTUP
softdepend: [WorldEdit, CommandBook]
api-version: 1.13

0 comments on commit 397a71a

Please sign in to comment.