diff --git a/pom.xml b/pom.xml
index 03f5c9a..eb9cbf0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -53,15 +53,15 @@
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 2.0.2
-
-
- 1.5
-
-
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 2.0.2
+
+
+ 1.5
+
+
@@ -88,7 +88,7 @@
com.cypherx
xauth
- 3.1
+ 2.0.3
diff --git a/src/de/jaschastarke/minecraft/integration/xAuth.java b/src/de/jaschastarke/minecraft/integration/xAuth.java
index 90915db..774cb11 100644
--- a/src/de/jaschastarke/minecraft/integration/xAuth.java
+++ b/src/de/jaschastarke/minecraft/integration/xAuth.java
@@ -26,12 +26,14 @@ import de.jaschastarke.minecraft.limitedcreative.Core;
public class xAuth implements CommunicationBridge {
public static boolean isLoggedInNotGuest(Player player) {
- xAuthPlayer xpl = getAuth().getPlayer(player.getName());
+ xAuthPlayer xpl = getAuth().getPlyrMngr().getPlayer(player.getName());
boolean li = true;
if (!xpl.isAuthenticated())
li = false;
else if (xpl.isGuest())
li = false;
+ else if (!getAuth().getPlyrMngr().checkSession(xpl))
+ li = false;
Core.debug("xAuth: "+player.getName()+": logged in not guest: "+li);
return li;
}