Skip to content

Commit 9556bc1

Browse files
committed
Update FreedomCore.java
1 parent 188a308 commit 9556bc1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/server/AvalancheYT/FreedomCore/FreedomCore.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import server.AvalancheYT.FreedomCore.Commands.Command_op;
99
import server.AvalancheYT.FreedomCore.Config.ConfigManager;
1010
import server.AvalancheYT.FreedomCore.Listeners.PlayerListener;
11+
import server.AvalancheYT.FreedomCore.Listeners.ServerListener;
1112

1213
public class FreedomCore extends JavaPlugin {
1314
public static FreedomCore plugin;
@@ -21,7 +22,6 @@ public void onLoad() {
2122
public void onEnable() {
2223
this.register();
2324
getLogger().log(Level.INFO, "FreedomCore enabled! Created by AvalancheYT and TaahThePhoenix");
24-
new PlayerListener(this);
2525
}
2626

2727
@Override
@@ -32,6 +32,7 @@ public void onDisable() {
3232
public void register() {
3333
new ConfigManager();
3434
new PlayerListener(this);
35+
new ServerListener(this);
3536
this.getCommand("list").setExecutor(new Command_list(this));
3637
this.getCommand("fc").setExecutor(new Command_fc(this));
3738
this.getCommand("admin").setExecutor(new Command_admin(this));

0 commit comments

Comments
 (0)