mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 14:38:53 +00:00
Prevent sending requests to vanished players
This commit is contained in:
1 parent
6397d78767
commit
2152ca91f2
4 files changed
+24
-2
No files matched your search
@@ -104,6 +104,13 @@ public abstract class OnlineUser extends User {
|
||||
*/
|
||||
public abstract boolean isMoving();
|
||||
|
||||
/**
|
||||
* Returns if the player is tagged as being "vanished" by a /vanish plugin
|
||||
*
|
||||
* @return {@code true} if the player is tagged as being "vanished" by a /vanish plugin; {@code false} otherwise
|
||||
*/
|
||||
public abstract boolean isVanished();
|
||||
|
||||
/**
|
||||
* Get the maximum number of homes this user may set
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user