mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 14:01:03 -08:00
Fixed #1401
This commit is contained in:
parent
8aec6d24db
commit
d2bc2baefe
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ public class CoreBlock extends StorageBlock{
|
|||
|
||||
for(TileEntity other : state.teams.cores(tile.getTeam())){
|
||||
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()){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue