1.4.3 - correctly handle JEI plugins that throw errors when sending runtime
Fixes #9
This commit is contained in:
parent
9e3ae9d8c0
commit
41ed759938
|
|
@ -18,7 +18,7 @@ plugins {
|
||||||
apply plugin: 'org.spongepowered.mixin'
|
apply plugin: 'org.spongepowered.mixin'
|
||||||
|
|
||||||
group = 'org.embeddedt'
|
group = 'org.embeddedt'
|
||||||
version = '1.4.2'
|
version = '1.4.3'
|
||||||
|
|
||||||
java {
|
java {
|
||||||
archivesBaseName = 'modernfix-mc' + minecraft_version
|
archivesBaseName = 'modernfix-mc' + minecraft_version
|
||||||
|
|
@ -182,4 +182,4 @@ curseforge {
|
||||||
addGameVersion minecraft_version
|
addGameVersion minecraft_version
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ public class JeiStarterMixin {
|
||||||
try {
|
try {
|
||||||
Minecraft.getInstance().executeBlocking(() -> func.accept(plugin));
|
Minecraft.getInstance().executeBlocking(() -> func.accept(plugin));
|
||||||
} catch(CancellationException | CompletionException e) {
|
} catch(CancellationException | CompletionException e) {
|
||||||
Thread.currentThread().interrupt();
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user