forked from Upstream/Velocitab
Fixed problem with API
This commit is contained in:
parent
dd1ec2120f
commit
a55ea94fa3
@ -77,7 +77,6 @@ public class Velocitab {
|
||||
private ScoreboardManager scoreboardManager;
|
||||
@Getter
|
||||
private VanishManager vanishManager;
|
||||
private VelocitabAPI velocitabAPI;
|
||||
|
||||
@Inject
|
||||
public Velocitab(@NotNull ProxyServer server, @NotNull Logger logger, @DataDirectory Path dataDirectory) {
|
||||
@ -105,6 +104,7 @@ public class Velocitab {
|
||||
server.getScheduler().tasksByPlugin(this).forEach(ScheduledTask::cancel);
|
||||
disableScoreboardManager();
|
||||
getLuckPermsHook().ifPresent(LuckPermsHook::close);
|
||||
VelocitabAPI.unregister();
|
||||
logger.info("Successfully disabled Velocitab");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user