Skip to content

Commit

Permalink
Forgot to register the join/leave event. oops
Browse files Browse the repository at this point in the history
  • Loading branch information
olliedean committed Jun 29, 2021
1 parent 84782ac commit 7c638bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/zen/lol/skyblockcore/Skyblockcore.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.bukkit.plugin.RegisteredServiceProvider;
import org.bukkit.plugin.java.JavaPlugin;
import zen.lol.skyblockcore.commands.Economy.WithdrawCmd;
import zen.lol.skyblockcore.events.JoinLeaveMessages;
import zen.lol.skyblockcore.events.MoneyNoteListener;

import java.util.List;
Expand All @@ -27,6 +28,7 @@ public void onEnable() {

this.getCommand("withdraw").setExecutor(new WithdrawCmd());
getServer().getPluginManager().registerEvents(new MoneyNoteListener(), this);
getServer().getPluginManager().registerEvents(new JoinLeaveMessages(), this);
this.saveDefaultConfig();
Bukkit.getScheduler().runTaskTimer(this, new Runnable() {
@Override
Expand Down

0 comments on commit 7c638bf

Please sign in to comment.