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()){
|
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.");
|
info("Core filled.");
|
||||||
|
|||||||
Reference in New Issue
Block a user