From db110189740efa30c6c5f9fe5fdfc656f4e04c78 Mon Sep 17 00:00:00 2001 From: aromaa Date: Sun, 28 Apr 2024 01:20:40 +0300 Subject: [PATCH] Capture inventory when its cleared --- .../spongepowered/common/inventory/fabric/UniversalFabric.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/spongepowered/common/inventory/fabric/UniversalFabric.java b/src/main/java/org/spongepowered/common/inventory/fabric/UniversalFabric.java index 494b9672002..fbd77f9e4ef 100644 --- a/src/main/java/org/spongepowered/common/inventory/fabric/UniversalFabric.java +++ b/src/main/java/org/spongepowered/common/inventory/fabric/UniversalFabric.java @@ -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() {