-
-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Describe the bug
When playing with Forge 1.20.1 + Powah 5.0.11 + ConnectorExtras (Energy Bridge 1.11.2+1.20.1) the game crashes due to a ConcurrentModificationException. It happens when Powah tries to charge items in the player’s inventory while ConnectorExtras Energy Bridge is active. Crash Log (excerpt):
Steps to reproduce
Install Forge 1.20.1.
Add mods: Powah 5.0.11, Connector, ConnectorExtras (Energy Bridge).
Launch the game, give yourself a Powah Battery.
Crash occurs shortly after the battery is in inventory
Logs
java.util.ConcurrentModificationException at java.util.HashMap.computeIfAbsent(HashMap.java:1221) at dev.su5ed.sinytra.connectorextras.energybridge.EnergyBridgeSetup$2.getCapability(EnergyBridgeSetup.java:82) at owmii.powah.forge.ForgeEnvHandler.transferSlotList(ForgeEnvHandler.java:406) at owmii.powah.forge.ForgeEnvHandler.chargeItemsInPlayerInv(ForgeEnvHandler.java:377) at owmii.powah.item.BatteryItem.inventoryTick(BatteryItem.java:33)
Additional context
versions:
Minecraft: 1.20.1
Forge: 47.4.0
Powah: 5.0.11
Connector: (latest for 1.20.1)
ConnectorExtras: 1.11.2+1.20.1