mirror of
https://github.com/essentials/Essentials.git
synced 2025-09-29 15:49:21 +02:00
Finally get rid of all dependency problems.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1423 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
@@ -28,14 +28,6 @@ public class EssentialsGeoIP extends JavaPlugin
|
||||
public void onEnable()
|
||||
{
|
||||
PluginManager pm = getServer().getPluginManager();
|
||||
Plugin ess = pm.getPlugin("Essentials");
|
||||
if (ess != null)
|
||||
{
|
||||
if (!pm.isPluginEnabled(ess))
|
||||
{
|
||||
pm.enablePlugin(ess);
|
||||
}
|
||||
}
|
||||
EssentialsGeoIPPlayerListener playerListener = new EssentialsGeoIPPlayerListener(getDataFolder());
|
||||
pm.registerEvent(Type.PLAYER_JOIN, playerListener, Priority.Monitor, this);
|
||||
|
||||
|
Reference in New Issue
Block a user