mirror of
https://github.com/GTNewHorizons/NotEnoughEnergistics.git
synced 2026-11-17 02:45:29 +00:00
fix Ctrl scroll to zero (#67)
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user