crash with Interdimensional SU
Azruine opened this issue ยท 2 comments
placing IDSU adjecent to output side of storage block makes game crash.
crash log: https://pastebin.com/3P8ByyGL
possible solution:
in AbstractBlockMachineEntity.java
@Override
public void tick()
{
if (!level.isClientSide)
{
EnergyMoveable insertable = MOVEABLE.find(this.getLevel(), this.getBlockPos().relative(orientation.outputDirection),
orientation.outputDirection.getOpposite());
if (insertable instanceof EnergyInsertable && ((EnergyInsertable) insertable).canInsert(to))
{
energy.insertEnergy((EnergyInsertable) insertable);
}
}
this.setChanged();
}
Sorry for not PRing, but im so tired now :/
Duplicate of #247