9
0
mirror of https://github.com/Samsuik/Sakura.git synced 2025-12-23 16:59:16 +00:00

Fix dispensing with sake not behaving correctly

This commit is contained in:
Samsuik
2025-10-26 01:32:43 +01:00
parent 7779a176bf
commit 1b6d46d0e6

View File

@@ -29,7 +29,7 @@ public final class DispenseRelocationHandler {
if (group == null) {
final Set<BlockPos> connected = this.getConnectedDispensers(sourcePos, sourceState);
final DispenserGroup newGroup = new DispenserGroup();
connected.forEach(dispenserPos -> groups.put(dispenserPos, newGroup));
connected.forEach(dispenserPos -> groups.putIfAbsent(dispenserPos, newGroup));
group = newGroup;
}