Skip to content

Commit f63861b

Browse files
committed
Fix incorrect way of unregistering MultiverseCoreApi from service manager
1 parent 3233ae5 commit f63861b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/mvplugins/multiverse/core/MultiverseCoreApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ static void init(@NotNull MultiverseCore multiverseCore) {
3333
}
3434

3535
static void shutdown() {
36+
Bukkit.getServicesManager().unregister(instance);
3637
instance = null;
37-
Bukkit.getServicesManager().unregister(MultiverseCoreApi.class);
3838
}
3939

4040
/**

0 commit comments

Comments
 (0)