Skip to content

Commit

Permalink
dev: add support for ghost recipes in block interact
Browse files Browse the repository at this point in the history
  • Loading branch information
Yarden-zamir committed Feb 7, 2024
1 parent eda4a21 commit 75f7f58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kubejs/server_scripts/base/recipe_managers/lychee.manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ function addDripping(block_out, target_block, source_block) {
};
modpackRecipes.push(result);
}
function addBlockInteract(block_out, block_in, item_in) {
function addBlockInteract(block_out, block_in, item_in, ghost) {
ghost = ghost || false;
let post = {
type: "place",
block: block_out,
Expand All @@ -77,6 +78,7 @@ function addBlockInteract(block_out, block_in, item_in) {
item_in: solveLimitedIngredient(item_in),
block_in: block_in,
post: post,
ghost: ghost,
};
modpackRecipes.push(recipe);
}
Expand Down

0 comments on commit 75f7f58

Please sign in to comment.