mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-10 07:47:25 +07: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:

committed by
GitHub

parent
d512aa5b21
commit
bc6db72df0
@ -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.");
|
||||
|
Reference in New Issue
Block a user