Mekanism

Mekanism

111M Downloads

[1.10.2 9.2.0.292] TESLA TileEntityElectricBlock Capability NoSuchMethodException

rreeggkk opened this issue ยท 1 comments

commented

When calling getCapability() with a TESLA Consumer capability on a TileEntityElectricBlock a NoSuchMethodException gets thrown from this line. I believe this is caused by the fact that the teslaManager in the TileEntityElectricBlock is created using IEnergyWrapper as the type parameter. When the reflection is later run in the CapabilityWrapperManager, it fails to find a constructor that accepts a mekanism.common.base.IEnergyWrapper as its first parameter. Here is the full exception.

commented

Fixed, thanks