Many F Fly bug fixes:
- Async get nearby entities - Not respecting admin bypass - Not respecting permissions for system claims - Not respecting permissions for relations - Sending fly disabled message when user is not flying - Sending double messages when disabling - Sometimes disabling fly while in creative and spectator game modes
This commit is contained in:
committed by
droppinganvil
parent
f7619f0685
commit
6544513ca7
@@ -31,6 +31,19 @@ public interface FPlayer extends EconomyParticipator {
|
||||
|
||||
boolean hasNotificationsEnabled();
|
||||
|
||||
/**
|
||||
* Determine if a player has enemies nearby based on the enemy check task in CmdFly
|
||||
* NOTE: THIS VALUE IS ONLY UPDATED WHEN A USER IS USING FLY
|
||||
* @return enemiesNearby as a boolean
|
||||
*/
|
||||
boolean hasEnemiesNearby();
|
||||
|
||||
/**
|
||||
* Set if this FPlayer has an enemy nearby
|
||||
* @param b enemiesNearby
|
||||
*/
|
||||
void setEnemiesNearby(Boolean b);
|
||||
|
||||
/**
|
||||
* Get if a player has setup their Discord before
|
||||
* @return if the player setup Discord as a boolean
|
||||
|
||||
Reference in New Issue
Block a user