mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-08-20 18:32:49 +00:00
Its a good idea to actually register the listeners
This commit is contained in:
parent
0252d756f6
commit
7633b136e3
|
@ -13,7 +13,6 @@ import org.bukkit.event.Listener;
|
|||
import org.bukkit.event.player.PlayerChatEvent;
|
||||
import org.bukkit.event.player.PlayerJoinEvent;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
import org.bukkit.plugin.PluginManager;
|
||||
|
||||
|
||||
public class UpdateProcess implements Listener
|
||||
|
@ -32,7 +31,7 @@ public class UpdateProcess implements Listener
|
|||
|
||||
public void registerEvents()
|
||||
{
|
||||
final PluginManager pluginManager = plugin.getServer().getPluginManager();
|
||||
plugin.getServer().getPluginManager().registerEvents(this, plugin);
|
||||
}
|
||||
|
||||
public boolean selfUpdate()
|
||||
|
|
Loading…
Reference in a new issue