Skip to content
Permalink
Browse files

Disable shulker box coloring recipe

  • Loading branch information
me4502 committed Oct 18, 2019
1 parent b27b536 commit 14069bacb115d449449a0b2e7e213c8cb055cc3e
@@ -268,6 +268,9 @@ private boolean isValidRecipe(Recipe r, Inventory inv) {

return true;
} else if (r instanceof ShapelessRecipe && (recipe == null || recipe instanceof ShapelessRecipe)) {
if (((ShapelessRecipe) r).getKey().getKey().equals("shulker_box_coloring")) {
return false;
}
ShapelessRecipe shape = (ShapelessRecipe) r;
List<ItemStack> ing = new ArrayList<>(VerifyUtil.withoutNulls(shape.getIngredientList()));
if (ing.isEmpty()) {

0 comments on commit 14069ba

Please sign in to comment.
You can’t perform that action at this time.