API to determine whether a player is /softmuted.
This commit is contained in:
parent
2a7755d2a7
commit
e5fa2e4eab
|
|
@ -220,7 +220,7 @@ public abstract class DataStore
|
||||||
return newValue;
|
return newValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean isSoftMuted(UUID playerID)
|
public boolean isSoftMuted(UUID playerID)
|
||||||
{
|
{
|
||||||
Boolean mapEntry = this.softMuteMap.get(playerID);
|
Boolean mapEntry = this.softMuteMap.get(playerID);
|
||||||
if(mapEntry == null || mapEntry == Boolean.FALSE)
|
if(mapEntry == null || mapEntry == Boolean.FALSE)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user