mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2026-01-27 16:06:04 +00:00
properly do black/whitelist feature based on feedback
This commit is contained in:
@@ -50,7 +50,7 @@ public class GenerateLoot implements Listener {
|
||||
return;
|
||||
}
|
||||
Location lootLocation = event.getLootContext().getLocation();
|
||||
if (toolStats.config.getStringList("blacklist-worlds").contains(lootLocation.getWorld().getName())) {
|
||||
if (!toolStats.configTools.checkWorld(lootLocation.getWorld().getName())) {
|
||||
return;
|
||||
}
|
||||
Chunk lootChunk = lootLocation.getChunk();
|
||||
|
||||
Reference in New Issue
Block a user