diff options
author | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-06-01 11:26:12 +0000 |
---|---|---|
committer | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-06-01 11:26:12 +0000 |
commit | 641ec230d6fa6e467a389f399f50a9c67775e3a8 (patch) | |
tree | b2bbb89eb1dc21cb20ebf4c5501849f6ed169b74 /EssentialsGeoIP | |
parent | 4d6cb03708c136851577faad21e6ece7db7706c8 (diff) | |
download | Essentials-641ec230d6fa6e467a389f399f50a9c67775e3a8.tar Essentials-641ec230d6fa6e467a389f399f50a9c67775e3a8.tar.gz Essentials-641ec230d6fa6e467a389f399f50a9c67775e3a8.tar.lz Essentials-641ec230d6fa6e467a389f399f50a9c67775e3a8.tar.xz Essentials-641ec230d6fa6e467a389f399f50a9c67775e3a8.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')
-rw-r--r-- | EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIPPlayerListener.java | 3 |
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")) { |