From d50135b5d9ba9ba0e503edc811e3770c120a1a88 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Sat, 7 Nov 2020 04:04:29 +0800 Subject: [PATCH] Registries#getId should be static --- .../java/me/shedaniel/architectury/registry/Registries.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/me/shedaniel/architectury/registry/Registries.java b/common/src/main/java/me/shedaniel/architectury/registry/Registries.java index 42b69766..e6b52740 100644 --- a/common/src/main/java/me/shedaniel/architectury/registry/Registries.java +++ b/common/src/main/java/me/shedaniel/architectury/registry/Registries.java @@ -53,7 +53,7 @@ public final class Registries { * Fabric: Use registry */ @Nullable - public ResourceLocation getId(T object, ResourceKey> fallback) { + public static ResourceLocation getId(T object, ResourceKey> fallback) { return IMPL.getId(object, fallback); } @@ -62,7 +62,7 @@ public final class Registries { * Fabric: Use registry */ @Nullable - public ResourceLocation getId(T object, net.minecraft.core.Registry fallback) { + public static ResourceLocation getId(T object, net.minecraft.core.Registry fallback) { return IMPL.getId(object, fallback); }