This commit is contained in:
Anuken
2023-05-13 10:51:05 -04:00
parent ebb40145ac
commit 89e942ee35
2 changed files with 8 additions and 6 deletions

View File

@@ -492,12 +492,6 @@ public class CoreBlock extends StorageBlock{
storageCapacity = itemCapacity + proximity().sum(e -> owns(e) ? e.block.itemCapacity : 0);
proximity.each(this::owns, t -> {
//add inventory if there is something in it from a payload
if(t.items != items){
items.add(t.items);
t.items.clear();
}
t.items = items;
((StorageBuild)t).linkedCore = this;
});