Made #isLoggedIn static and added Player#getName

This commit is contained in:
JKetelaar
2015-04-09 13:20:43 +02:00
parent deb975965f
commit 4312fc2245
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
package org.rev317.min.accessors; package org.rev317.min.accessors;
public interface Player extends Character { public interface Player extends Character {
String getName();
} }
+1 -1
View File
@@ -109,7 +109,7 @@ public class Game {
* *
* @return <b>true</b> if entity is logged in * @return <b>true</b> if entity is logged in
*/ */
public boolean isLoggedIn() { public static boolean isLoggedIn() {
return Loader.getClient().isLoggedIn(); return Loader.getClient().isLoggedIn();
} }