Exclude NPCs from player statistics

This commit is contained in:
Michael Burgess
2026-08-18 12:13:06 -04:00
parent ab901cbd83
commit 3ded7545e4
7 changed files with 151 additions and 0 deletions
@@ -9,6 +9,8 @@ interface StatsStorage extends Closeable {
void save(PlayerRecord record) throws Exception;
void delete(UUID uuid) throws Exception;
default void saveAll(Collection<PlayerRecord> records) throws Exception {
for (PlayerRecord record : records) {
save(record);