Skip to content

Commit d779061

Browse files
committed
fix a bug that Blacklist doesn't work when the entry is an id without "minecraft" namespace.(meaning that for example "coal_ore" is an invalid entry while "minecraft:coal_ore" is a valid entry.)
1 parent 6e81fe9 commit d779061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/kyrptonaught/diggusmaximus/config/Blacklist.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void generateLookup() {
2626
lookup.add(identifier.toString());
2727
});
2828

29-
} else lookup.add(entry);
29+
} else lookup.add((new Identifier(entry)).toString());
3030
});
3131
}
3232
}

0 commit comments

Comments
 (0)