aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorellellie <me@ell.gay>2025-02-17 00:49:06 +1300
committerGitHub <noreply@github.com>2025-02-16 19:49:06 +0800
commitce2de8d07e696b5ef75f2decbd6961286d88fb4f (patch)
tree96b03d7fe456bf67a659b2ee666c64cf52c98417 /runtime
parent93a46fca9ec4647d19b0622a12859940d690e345 (diff)
downloadRoughlyEnoughItems-ce2de8d07e696b5ef75f2decbd6961286d88fb4f.tar.gz
RoughlyEnoughItems-ce2de8d07e696b5ef75f2decbd6961286d88fb4f.tar.bz2
RoughlyEnoughItems-ce2de8d07e696b5ef75f2decbd6961286d88fb4f.zip
chore: Update to add namespaces to ReloadListenerRegistry calls (#1828)
* chore: update to Architectury API 15.0.2 Needed to update `ReloadListenerRegistry.register` calls due to https://github.com/architectury/architectury-api/pull/603 * chore: add dependency on architectury >= 15.0.2 for the fabric platform. * chore: depend on NeoForge >= 21.4.84-beta as well
Diffstat (limited to 'runtime')
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsCore.java2
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/CachedEntryListRender.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsCore.java b/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsCore.java
index 8a31cb95a..6c9c62e79 100644
--- a/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsCore.java
+++ b/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsCore.java
@@ -157,7 +157,7 @@ public class RoughlyEnoughItemsCore {
if (GameInstance.getServer() == null) return;
ReloadManagerImpl.reloadPlugins(null, ReloadInterruptionContext.ofNever());
}, executor2);
- });
+ }, ResourceLocation.fromNamespaceAndPath("roughlyenoughitems", "reload_plugins"));
}
}
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/CachedEntryListRender.java b/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/CachedEntryListRender.java
index 12196723f..78d3c19ba 100644
--- a/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/CachedEntryListRender.java
+++ b/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/CachedEntryListRender.java
@@ -86,7 +86,7 @@ public class CachedEntryListRender {
static {
ReloadListenerRegistry.register(PackType.CLIENT_RESOURCES, (barrier, resourceManager, preparationExecutor, reloadExecutor) -> {
return barrier.wait(Unit.INSTANCE).thenRunAsync(CachedEntryListRender::refresh, reloadExecutor);
- });
+ }, ResourceLocation.fromNamespaceAndPath("roughlyenoughitems", "cached_entries"));
}
public static void refresh() {