Fixed mixtech vault item dupe

This commit is contained in:
Anuken
2025-03-09 10:19:09 -04:00
parent 46fcd7b84a
commit f7b13b7924
2 changed files with 2 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ public class StorageBlock extends Block{
//only add prev items when core is not linked
if(linkedCore == null){
for(Building other : previous){
if(other.items != null && other.items != items){
if(other.items != null && other.items != items && !(other instanceof StorageBuild b && b.linkedCore != null)){
items.add(other.items);
}
}