Skip to content

Commit 9be0ff8

Browse files
committed
doesnt build without this
1 parent 6d639ca commit 9be0ff8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Commands/CommandAPI-11.1.0/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<!-- CommandAPI -->
2828
<dependency>
2929
<groupId>dev.jorel</groupId>
30-
<artifactId>commandapi-spigot-core</artifactId>
30+
<artifactId>commandapi-spigot-shade</artifactId>
3131
<version>11.1.0</version>
3232
<scope>provided</scope>
3333
</dependency>

Common/src/main/java/com/fren_gor/ultimateAdvancementAPI/database/DatabaseManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ private void unloadPlayerOnQuit(@NotNull UUID uuid) {
161161
if (Bukkit.isPrimaryThread()) {
162162
callEventCatchingExceptions(new TeamUnloadEvent(t));
163163
} else {
164-
runSync(main.getOwningPlugin(), () -> callEventCatchingExceptions(new TeamUnloadEvent(t)));
164+
runSync(main.getOwningPlugin(), main.getScheduler(), () -> callEventCatchingExceptions(new TeamUnloadEvent(t)));
165165
}
166166
}
167167
}

0 commit comments

Comments
 (0)