mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-24 13:31:45 -08:00
Make fillitems fill the core to the brim (#4462)
Instead of just setting all items to the capacity of the first found core.
This commit is contained in:
parent
d512aa5b21
commit
bc6db72df0
1 changed files with 1 additions and 1 deletions
|
|
@ -502,7 +502,7 @@ public class ServerControl implements ApplicationListener{
|
|||
}
|
||||
|
||||
for(Item item : content.items()){
|
||||
state.teams.cores(team).first().items.set(item, state.teams.cores(team).first().block.itemCapacity);
|
||||
state.teams.cores(team).first().items.set(item, state.teams.cores(team).first().storageCapacity);
|
||||
}
|
||||
|
||||
info("Core filled.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue