mirror of
https://github.com/2006-Scape/Parabot-317-API-Minified.git
synced 2026-07-03 00:38:00 +00:00
Made #isLoggedIn static and added Player#getName
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user