CombinedInventoryProxy for double chests is now ephemeral

previously we had to make sure that the two chests shared the same instance, so that the viewer
lists would be properly updated. Now, instead, we can just combine the viewer lists of the individual
chests, which is a lot cleaner.
This commit is contained in:
Dylan K. Taylor
2025-09-03 17:34:37 +01:00
parent f91f5bff9b
commit 6610a19640
16 changed files with 111 additions and 80 deletions

View File

@ -117,4 +117,20 @@ final class SlotChangeActionBuilder extends BaseInventory{
}
return $result;
}
public function getViewers() : array{
return [];
}
public function removeAllWindows() : void{
//NOOP
}
public function onOpen(InventoryWindow $window) : void{
//NOOP
}
public function onClose(InventoryWindow $window) : void{
//NOOP
}
}