Skip to content

Commit

Permalink
Fix config screens in 1.12+
Browse files Browse the repository at this point in the history
  • Loading branch information
josephcsible committed Jun 30, 2017
1 parent e5e787a commit 5c48b31
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,13 @@ public RuntimeOptionGuiHandler getHandlerFor(RuntimeOptionCategoryElement elemen
return null;
}

// TODO clean these 2 methods up when we switch to 1.12 MDK
public boolean hasConfigGui() {
return true;
}

public GuiScreen createConfigGui(GuiScreen parentScreen) {
return new InfiniteFluidsGuiConfig(parentScreen);
}

}

0 comments on commit 5c48b31

Please sign in to comment.