fix Ctrl scroll to zero (#67)

This commit is contained in:
lc-1337 authored and GitHub committed 2026-06-07 13:17:15 +02:00
1 parent 84e25c983f
commit cebb8b6d94
2 files changed
+2 -3

No files matched your search

@@ -74,7 +74,7 @@ public class PacketStackCountChange implements IMessage {
if (aes != null) {
final IAEStack<?> newAes = aes.copy();
final Int2ObjectMap<IAEStack<?>> temp = new Int2ObjectOpenHashMap<>();
newAes.setStackSize(Math.max(1, aes.getStackSize()) + message.getChangeCount());
newAes.setStackSize(Math.max(1, aes.getStackSize() + message.getChangeCount()));
temp.put(message.getSlotIndex(), newAes);
cpt.receiveSlotStacks(message.getStorageName(), temp);
}