Skip to content

Commit

Permalink
block Denizen items from appearing in vanilla recipe_ids
Browse files Browse the repository at this point in the history
Needs further improvement
  • Loading branch information
mcmonkey4eva committed Sep 18, 2019
1 parent 0036144 commit 2ee827c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -985,7 +985,7 @@ public ObjectTag run(Attribute attribute, ObjectTag object) {
continue;
}
if (recipe instanceof Keyed) {
if (isScripted && !((Keyed) recipe).getKey().getKey().equalsIgnoreCase("denizen")) {
if (isScripted != ((Keyed) recipe).getKey().getKey().equalsIgnoreCase("denizen")) {
continue;
}
list.add(((Keyed) recipe).getKey().toString());
Expand Down

0 comments on commit 2ee827c

Please sign in to comment.