Skip to content

Commit 6618198

Browse files
committed
eeeee
1 parent 5000a9a commit 6618198

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/glodblock/github/client/container/ContainerUltimateEncoder.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ public void encodeAndMoveToInventory() {
224224
}
225225

226226
public void encode() {
227+
if (collectInventory(this.craftingSlots).length == 0 || collectInventory(this.outputSlots).length == 0) {
228+
return;
229+
}
227230
if (!checkHasFluidPattern()) {
228231
ItemStack stack = this.patternSlotOUT.getStack();
229232
if (stack.isEmpty()) {

0 commit comments

Comments
 (0)