This commit is contained in:
Anuken
2026-04-22 09:48:49 -04:00
parent 071dfb6ddb
commit b77b0039cf
@@ -144,7 +144,7 @@ public class Unloader extends Block{
//partial check
boolean canLoad = !(other instanceof CoreBuild || other instanceof StorageBuild);
boolean canUnload = other.canUnload() && (allowCoreUnload || canLoad) && other.items != null;
boolean canUnload = other.canUnload() && (allowCoreUnload || canLoad || (other instanceof StorageBuild b && b.linkedCore == null)) && other.items != null;
if(canLoad || canUnload){ //avoid blocks that can neither give nor receive items
var pb = Pools.obtain(ContainerStat.class, ContainerStat::new);