This commit is contained in:
Anuken
2020-01-20 14:32:07 -05:00
parent 8aec6d24db
commit d2bc2baefe

View File

@ -99,7 +99,7 @@ public class CoreBlock extends StorageBlock{
for(TileEntity other : state.teams.cores(tile.getTeam())){ for(TileEntity other : state.teams.cores(tile.getTeam())){
if(other.tile == tile) continue; if(other.tile == tile) continue;
entity.storageCapacity += other.block.itemCapacity + entity.proximity().sum(e -> isContainer(e) ? e.block().itemCapacity : 0); entity.storageCapacity += other.block.itemCapacity + other.proximity().sum(e -> isContainer(e) ? e.block().itemCapacity : 0);
} }
if(!world.isGenerating()){ if(!world.isGenerating()){