Skip to content

Commit

Permalink
Capture inventory when its cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
aromaa committed Apr 27, 2024
1 parent 5a98da9 commit db11018
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public interface UniversalFabric extends Fabric, InventoryBridge {

@Override default void fabric$clear() {
InventoryTranslators.getTranslator(this.getClass()).clear(this);
this.fabric$captureContainer();
}

@Override default void fabric$markDirty() {
Expand Down

0 comments on commit db11018

Please sign in to comment.