OptiFabric

OptiFabric

9M Downloads

Outdated Github redirection on OptiFabric error page

StayKwimp opened this issue ยท 2 comments

commented

Hi there,

I was trying to make optifabric work with optifine H1 (which doesnt work for now i know) and I got this error screen. I clicked on the 'Open help' button which redirected me to the outdated modmuss50 optifabric page. What I suggest changing is making it redirect to this Github page.
It shouldn't be too hard to fix :)

errorpage

commented

same as #374

commented

You're using a very old version if the buttons are using old links:

Util.getOperatingSystem().open("https://github.com/Chocohead/OptiFabric/blob/master/README.md");
} else {
Util.getOperatingSystem().open(new File(FabricLoader.getInstance().getGameDirectory(), "mods"));
}
};
break;
case INTERNAL_ERROR: //Something wrong with OptiFabric itself
default: {
String stack = OptifabricError.getErrorLog();
actionButtonText = stack != null ? "Copy stack-trace" : "Open logs folder";
helpButtonText = "Open issues";
action = help -> {
if (help) {
Util.getOperatingSystem().open("https://github.com/Chocohead/OptiFabric/issues");
} else if (stack != null) {
client.keyboard.setClipboard(stack);
} else {
Util.getOperatingSystem().open(new File(FabricLoader.getInstance().getGameDirectory(), "logs"));