Skip to content

Commit

Permalink
fix: removes out of place reference to SimpleClans (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
RoinujNosde committed Jul 29, 2022
1 parent 09a0fbb commit c646061
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/me/roinujnosde/titansbattle/TitansBattle.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@
import java.util.Optional;
import java.util.logging.Level;

import static net.sacredlabyrinth.phaed.simpleclans.chat.ChatHandler.plugin;

/**
* @author RoinujNosde
*/
Expand Down Expand Up @@ -256,7 +254,7 @@ private void loadGroupsPlugin() {
}

public void sendDiscordMessage(String message) {
Bukkit.getScheduler().runTaskAsynchronously(plugin, () -> {
Bukkit.getScheduler().runTaskAsynchronously(this, () -> {
String url = getConfig().getString("discord_webhook_url");
if (url != null && !url.isEmpty()) {
DiscordWebhook webhook = new DiscordWebhook(url);
Expand Down

0 comments on commit c646061

Please sign in to comment.