mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2026-03-10 18:32:01 +00:00
properly do black/whitelist feature based on feedback
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user