TCheckpoint
This commit is contained in:
parent
9ae9bf64e7
commit
665447b178
26 changed files with 33 additions and 39 deletions
|
|
@ -118,6 +118,7 @@ public class PlayerStats {
|
|||
return dataContainer.getOrDefault(new NamespacedKey(plugin, stat), type, 0);
|
||||
}
|
||||
|
||||
@SuppressWarnings("BooleanMethodIsAlwaysInverted")
|
||||
public boolean hasExactStat(String stat) {
|
||||
return dataContainer.has(new NamespacedKey(plugin, stat), Stats.get(stat));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue