mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2026-01-27 16:06:04 +00:00
sigh I am dumb
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().toString())) {
|
||||
if (toolStats.config.getStringList("blacklist-worlds").contains(lootLocation.getWorld().getName())) {
|
||||
return;
|
||||
}
|
||||
Chunk lootChunk = lootLocation.getChunk();
|
||||
|
||||
Reference in New Issue
Block a user