summaryrefslogtreecommitdiffstats
path: root/EssentialsGeoIP/src
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-06-01 11:26:12 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-06-01 11:26:12 +0000
commit8e151357ce4f1bb4c5edb6d41e66e4d1a23798d8 (patch)
tree97220ed88976602b742774e8f689ab3897067c58 /EssentialsGeoIP/src
parent86e40db6b9babfae520b61c5fc43c27e55ac8a0a (diff)
downloadEssentials-8e151357ce4f1bb4c5edb6d41e66e4d1a23798d8.tar
Essentials-8e151357ce4f1bb4c5edb6d41e66e4d1a23798d8.tar.gz
Essentials-8e151357ce4f1bb4c5edb6d41e66e4d1a23798d8.tar.lz
Essentials-8e151357ce4f1bb4c5edb6d41e66e4d1a23798d8.tar.xz
Essentials-8e151357ce4f1bb4c5edb6d41e66e4d1a23798d8.zip
Missed some parts for the last commits
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1555 e251c2fe-e539-e718-e476-b85c1f46cddb
Diffstat (limited to 'EssentialsGeoIP/src')
-rw-r--r--EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIPPlayerListener.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIPPlayerListener.java b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIPPlayerListener.java
index 91d0186e6..a9dd9ad3d 100644
--- a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIPPlayerListener.java
+++ b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIPPlayerListener.java
@@ -3,6 +3,7 @@ package com.earth2me.essentials.geoip;
import com.earth2me.essentials.Essentials;
import com.earth2me.essentials.EssentialsConf;
import com.earth2me.essentials.IConf;
+import com.earth2me.essentials.IEssentials;
import com.earth2me.essentials.User;
import com.earth2me.essentials.Util;
import com.maxmind.geoip.Location;
@@ -44,7 +45,7 @@ public class EssentialsGeoIPPlayerListener extends PlayerListener implements ICo
@Override
public void onPlayerJoin(PlayerJoinEvent event)
{
- Essentials ess = Essentials.getStatic();
+ IEssentials ess = Essentials.getStatic();
User u = ess.getUser(event.getPlayer());
if (u.isAuthorized("essentials.geoip.hide"))
{