sigh I am dumb

This commit is contained in:
hyperdefined
2026-01-26 13:32:28 -05:00
parent a21fbf7a95
commit 06232f1dc4
19 changed files with 21 additions and 18 deletions

View File

@@ -54,7 +54,7 @@ public class PickupItem implements Listener {
}
Entity entity = event.getEntity();
if (entity instanceof Player player) {
if (toolStats.config.getStringList("blacklist-worlds").contains(player.getWorld().toString())) {
if (toolStats.config.getStringList("blacklist-worlds").contains(player.getWorld().getName())) {
return;
}
if (player.getGameMode() == GameMode.CREATIVE && !toolStats.config.getBoolean("allow-creative")) {