properly do black/whitelist feature based on feedback

This commit is contained in:
hyperdefined
2026-01-26 15:23:20 -05:00
parent 9755ac2035
commit 58a74a0cdd
22 changed files with 72 additions and 25 deletions

View File

@@ -49,7 +49,7 @@ public class EntityDeath implements Listener {
if (livingEntity instanceof Player) {
return;
}
if (toolStats.config.getStringList("blacklist-worlds").contains(livingEntity.getWorld().getName())) {
if (!toolStats.configTools.checkWorld(livingEntity.getWorld().getName())) {
return;
}
UUID livingEntityUUID = event.getEntity().getUniqueId();