Skip to content

Commit

Permalink
Merge branch 'master' into feature/multiple-streams
Browse files Browse the repository at this point in the history
  • Loading branch information
GospelBG authored Sep 22, 2024
2 parents 8d716ef + ea34dca commit aad6208
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/main/java/me/gosdev/chatpointsttv/ChatPointsTTV.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.HandlerList;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;

Expand Down Expand Up @@ -292,6 +293,8 @@ public void onDisable() {

Rewards.rewards = new HashMap<rewardType,ArrayList<Reward>>();
TwitchEventHandler.rewardBold = null;

HandlerList.unregisterAll(this);
}

public void linkToTwitch(CommandSender p, String token) {
Expand Down

0 comments on commit aad6208

Please sign in to comment.