TCheckpoint

This commit is contained in:
tyuXX 2025-06-29 15:07:33 +03:00
parent 9ae9bf64e7
commit 665447b178
26 changed files with 33 additions and 39 deletions

View file

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