From 2cb452fd9e2433c69f8f319049dc3b7a0a40396a Mon Sep 17 00:00:00 2001 From: PrototypeTrousers Date: Sat, 18 Sep 2021 21:40:42 -0300 Subject: [PATCH] hash drawers handler by the amount of slots --- src/main/java/appeng/parts/misc/PartStorageBus.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main/java/appeng/parts/misc/PartStorageBus.java b/src/main/java/appeng/parts/misc/PartStorageBus.java index 771f4190e..20d7d2972 100644 --- a/src/main/java/appeng/parts/misc/PartStorageBus.java +++ b/src/main/java/appeng/parts/misc/PartStorageBus.java @@ -434,16 +434,6 @@ public class PartStorageBus extends PartUpgradeable implements IGridTickable, IC return Objects.hash( target, target.getCapability( Capabilities.STORAGE_MONITORABLE_ACCESSOR, targetSide ) ); } - if (ITEM_REPOSITORY_CAPABILITY != null && target.hasCapability( ITEM_REPOSITORY_CAPABILITY, targetSide )) - { - final IItemRepository handlerRepo = target.getCapability( ITEM_REPOSITORY_CAPABILITY, targetSide ); - - if( handlerRepo != null ) - { - return Objects.hash( target, handlerRepo, handlerRepo.getAllItems().size() ); - } - } - final IItemHandler itemHandler = target.getCapability( CapabilityItemHandler.ITEM_HANDLER_CAPABILITY, targetSide ); if( itemHandler != null )