Fixed SequentialFillingPicker
This commit is contained in:
parent
5f1332dc8c
commit
d05ac642b2
@ -38,7 +38,7 @@ public class SequentialFillingPicker implements RoomPicker {
|
||||
|
||||
synchronized (wrappers) {
|
||||
for (var wrapper: wrappers.values()) {
|
||||
if (wrapper.canAddUnits(amount)) continue;
|
||||
if (!wrapper.canAddUnits(amount)) continue;
|
||||
|
||||
return wrapper.getItem();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user