Skip to content

Commit

Permalink
Fix #1418
Browse files Browse the repository at this point in the history
Super careful to zero out the freight inventory when it's dissassembled
  • Loading branch information
cam72cam committed Dec 9, 2023
1 parent b3a15b7 commit 252826f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public void onDissassemble() {
if (!stack.isEmpty()) {
getWorld().dropItem(stack.copy(), getPosition());
stack.setCount(0);
cargoItems.set(i, stack);
}
}
}
Expand Down

0 comments on commit 252826f

Please sign in to comment.