Fixed issue where isLoggedIn was placed in Character, as it has to be in Client

This commit is contained in:
JKetelaar
2015-02-09 16:20:42 +01:00
parent 417ab3aa33
commit 929f2f0987
2 changed files with 9 additions and 9 deletions
+9
View File
@@ -104,4 +104,13 @@ public class Game {
return Loader.getClient().getSettings(); return Loader.getClient().getSettings();
} }
/**
* Determines if the entity is logged in
*
* @return <b>true</b> if entity is logged in
*/
public boolean isLoggedIn() {
return Loader.getClient().isLoggedIn();
}
} }
@@ -144,15 +144,6 @@ public class Character implements Locatable {
return null; return null;
} }
/**
* Determines if the entity is logged in
*
* @return <b>true</b> if entity is logged in
*/
public boolean isLoggedIn() {
return accessor.isLoggedIn();
}
/** /**
* Gets the accessor class * Gets the accessor class
* *