API to determine whether a player is /softmuted.

This commit is contained in:
ryanhamshire 2015-07-16 21:03:24 -07:00
parent 2a7755d2a7
commit e5fa2e4eab

View File

@ -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)