Skip to content

Commit 98ba5c3

Browse files
committed
fix: request ingredient network grouping only allowing a single entry to exist
1 parent 3420a7f commit 98ba5c3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

forge/src/main/java/ru/zznty/create_factory_logistics/mixin/logistics/panel/FactoryPanelRequestMixin.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,10 @@ private void tickRequests(Operation<Void> original) {
258258
Multimap<PackagerBlockEntity, GenericRequest> request = GenericLogisticsManager.findPackagersForRequest(
259259
entry.getKey(), order, null, requestContext.recipeAddress());
260260

261-
requests.put(requestContext, request);
261+
requests.merge(requestContext, request, (a, b) -> {
262+
a.putAll(b);
263+
return a;
264+
});
262265
}
263266
}
264267

0 commit comments

Comments
 (0)