Skip to content

Commit

Permalink
forgot to register events
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSwag committed Oct 1, 2023
1 parent 8a7e650 commit 995f68a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/src/main/java/net/thenextlvl/worlds/Worlds.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import net.thenextlvl.worlds.image.Image;
import net.thenextlvl.worlds.image.WorldImage;
import net.thenextlvl.worlds.link.LinkFile;
import net.thenextlvl.worlds.listener.ConnectionListener;
import net.thenextlvl.worlds.listener.WorldListener;
import net.thenextlvl.worlds.preset.Presets;
import org.bstats.bukkit.Metrics;
Expand Down Expand Up @@ -96,6 +97,7 @@ public void onDisable() {
}

private void registerListeners() {
Bukkit.getPluginManager().registerEvents(new ConnectionListener(this), this);
Bukkit.getPluginManager().registerEvents(new WorldListener(this), this);
}

Expand Down

0 comments on commit 995f68a

Please sign in to comment.