mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-27 23:45:46 +00:00
Added item icon dumping
Changed world overrides to activate on option change, rather than requiring the W button to be clicked
This commit is contained in:
1 parent
edb6225c43
commit
ec56527b74
17 files changed
+367
-81
No files matched your search
@@ -12,16 +12,8 @@ public class OptionOpenGui extends OptionButton
|
||||
this.guiClass = guiClass;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void copyGlobals() {
|
||||
copyGlobal(name, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onClick(int button) {
|
||||
if (defaulting())
|
||||
return false;
|
||||
|
||||
try {
|
||||
Minecraft.getMinecraft().displayGuiScreen(guiClass.getConstructor(Option.class).newInstance(this));
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in new issue
Block a user