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);
}
}

View file

@ -26,4 +26,4 @@ org.gradle.caching=true
org.gradle.internal.http.socketTimeout=100000
org.gradle.internal.http.connectionTimeout=100000
android.enableR8.fullMode=false
archash=deacd9c98e
archash=fc46b1cb55