Skip to content

Commit

Permalink
feat: QuitPlayer, ChangeWorldPlayerの削除
Browse files Browse the repository at this point in the history
  • Loading branch information
merunno committed May 23, 2022
1 parent 8c9f3f2 commit a10e855
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 45 deletions.
7 changes: 1 addition & 6 deletions src/main/java/dev/merunno/junkcore/JunkCore.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package dev.merunno.junkcore;

import dev.merunno.junkcore.listeners.ChangeWorldPlayer;
import dev.merunno.junkcore.listeners.JoinPlayer;
import dev.merunno.junkcore.listeners.QuitPlayer;
import org.bukkit.Bukkit;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;
Expand All @@ -11,10 +9,7 @@ public class JunkCore extends JavaPlugin {

@Override
public void onEnable() {
PluginManager plManager = Bukkit.getPluginManager();
plManager.registerEvents(new JoinPlayer(), this);
plManager.registerEvents(new QuitPlayer(), this);
plManager.registerEvents(new ChangeWorldPlayer(), this);
Bukkit.getPluginManager().registerEvents(new JoinPlayer(), this);

getLogger().info("JunkCore enabled!");
}
Expand Down

This file was deleted.

17 changes: 0 additions & 17 deletions src/main/java/dev/merunno/junkcore/listeners/QuitPlayer.java

This file was deleted.

0 comments on commit a10e855

Please sign in to comment.