Roughly Enough Items Fabric/Forge/NeoForge (REI)

Roughly Enough Items Fabric/Forge/NeoForge (REI)

40M Downloads

[Bug] REI does not call the super Screen.init method, leading to crashes and unknown behavoir

modmuss50 opened this issue ยท 0 comments

commented

REI does not call the super Screen.init method, leading to crashes and unknown behavoir, here:

@Override
public void init(Minecraft minecraft, int i, int j) {
if (parent != null) {
parent.init(minecraft, i, j);
}
}

I found this when testing Fabric's new screen-api. The lack of the super.init call does not correctally populate a number of fields such as the client, item and text rendering and fabric's screen api events.