mirror of
https://github.com/AlmostReliable/almostunified.git
synced 2024-11-27 01:56:00 -05:00
parent
254055b9b3
commit
84fcb8046d
2 changed files with 4 additions and 3 deletions
|
@ -6,7 +6,8 @@ The format is based on [Keep a Changelog],
|
|||
and this project adheres to [Semantic Versioning].
|
||||
|
||||
## Unreleased
|
||||
- /
|
||||
|
||||
- fixed crash when runtime isn't loaded ([#101](https://github.com/AlmostReliable/almostunified/issues/101))
|
||||
|
||||
## [1.2.0] - 2024-10-06
|
||||
|
||||
|
|
|
@ -46,12 +46,12 @@ public final class AlmostUnifiedCommon {
|
|||
}
|
||||
|
||||
public static void onRecipeManagerError(ResourceLocation recipe) {
|
||||
assert RUNTIME != null;
|
||||
if (RUNTIME == null) return;
|
||||
RUNTIME.getDebugHandler().collectRecipeError(recipe);
|
||||
}
|
||||
|
||||
public static void onRecipeManagerEnd() {
|
||||
assert RUNTIME != null;
|
||||
if (RUNTIME == null) return;
|
||||
RUNTIME.getDebugHandler().finish();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue