Skip to content

Commit

Permalink
wwwaaaaahhh
Browse files Browse the repository at this point in the history
  • Loading branch information
GlodBlock committed Jul 29, 2022
1 parent 26bc19c commit 411ec67
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ public IMessage onMessage(CPacketTransferRecipe message, MessageContext ctx) {
outputSlot.setInventorySlotContents(i, null);
}

if (!cf.isCraftingMode()) {
if (!message.isCraft) {
if (combine) {
message.inputs = NEIUtils.compress(message.inputs);
message.outputs = NEIUtils.compress(message.outputs);
}
message.inputs = NEIUtils.clearNull(message.inputs);
message.outputs = NEIUtils.clearNull(message.outputs);
}

for (OrderStack<?> stack : message.inputs) {
if (stack != null) {
int index = stack.getIndex();
Expand Down

0 comments on commit 411ec67

Please sign in to comment.