mirror of
https://github.com/GTNewHorizons/NotEnoughEnergistics.git
synced 2026-11-25 14:24:33 +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
+1
-2
@@ -8,13 +8,12 @@ dependencies {
|
||||
implementation("com.github.GTNewHorizons:WirelessCraftingTerminal:1.12.14:dev")
|
||||
implementation("com.github.GTNewHorizons:AE2FluidCraft-Rework:1.5.76-gtnh:dev")
|
||||
|
||||
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.461:dev") { transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.584:dev") { transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:Avaritia:1.96:dev") { transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:Avaritiaddons:1.9.4-GTNH:dev") { transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:BuildCraftCompat:7.1.20:dev") { transitive = false }
|
||||
compileOnly('com.github.GTNewHorizons:EnderIO:2.10.25:dev') {transitive=false}
|
||||
compileOnly("com.github.GTNewHorizons:ForestryMC:4.11.14:dev") { transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:GTplusplus:1.12.11:dev") { transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:ThaumicEnergistics:1.7.45-GTNH:dev") { transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:Botania:1.13.16-GTNH:dev") { transitive = false }
|
||||
compileOnly("com.gregoriust.gregtech:gregtech_1.7.10:6.14.23:dev") { transitive = false }
|
||||
|
||||
@@ -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