This commit is contained in:
tyuXX 2025-06-04 21:07:55 +03:00
parent 0311b5af22
commit 79098e3e24
41 changed files with 318 additions and 42 deletions

View file

@ -96,10 +96,6 @@ public class PlayerStats {
return dataContainer.getOrDefault(new NamespacedKey(plugin, stat), type, 0);
}
public boolean hasStat(String stat) {
return dataContainer.has(new NamespacedKey(plugin, stat));
}
public boolean hasExactStat(String stat) {
return dataContainer.has(new NamespacedKey(plugin, stat), Stats.get(stat));
}