Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit 75be89e

Browse files
authored
* fix script * fix machine * Update CustomNoEnergyMachine.java * Update JavaScriptEval.java * Update CustomWorkbench.java * fix bug
1 parent 818883a commit 75be89e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/lins/mmmjjkx/rykenslimefuncustomizer/objects/customs/machine/CustomWorkbench.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ protected void tick(Block b) {}
293293

294294
for (int slot : inputMap.keySet()) {
295295
ItemStack itemStack = blockMenu.getItemInSlot(slot);
296-
if (itemStack != null && itemStack.getType() == Material.AIR) {
296+
if (itemStack != null && itemStack.getType() != Material.AIR) {
297297
blockMenu.consumeItem(slot, inputMap.get(slot).getAmount());
298298
}
299299
}

0 commit comments

Comments
 (0)