diff options
| author | TheBrokenRail <17478432+TheBrokenRail@users.noreply.github.com> | 2020-08-08 23:40:12 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-09 11:40:12 +0800 |
| commit | 226f11ac83cbf0931d7daa3586f13072fdb99fc8 (patch) | |
| tree | af31158581c2004db65fb0bfe56441e67680fdf4 /RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java | |
| parent | a88baa93b687a85a15c0911ee7b15d54b1d45cbb (diff) | |
| download | RoughlyEnoughItems-226f11ac83cbf0931d7daa3586f13072fdb99fc8.tar.gz RoughlyEnoughItems-226f11ac83cbf0931d7daa3586f13072fdb99fc8.tar.bz2 RoughlyEnoughItems-226f11ac83cbf0931d7daa3586f13072fdb99fc8.zip | |
Fix Build (#398)
Diffstat (limited to 'RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java')
| -rw-r--r-- | RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java index 6ff2941bd..ff32d478e 100644 --- a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java +++ b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java @@ -62,6 +62,8 @@ import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; +import static me.shedaniel.rei.impl.Internals.attachInstance; + import java.time.LocalDateTime; import java.util.*; import java.util.function.Supplier; @@ -260,8 +262,8 @@ public class ClientHelperImpl implements ClientHelper, ClientModInitializer { @Override public void onInitializeClient() { ClientHelperImpl.instance = this; - RoughlyEnoughItemsCore.attachInstance(instance, ClientHelper.class); - RoughlyEnoughItemsCore.attachInstance((Supplier<ClientHelper.ViewSearchBuilder>) ViewSearchBuilder::new, "viewSearchBuilder"); + attachInstance(instance, ClientHelper.class); + attachInstance((Supplier<ClientHelper.ViewSearchBuilder>) ViewSearchBuilder::new, "viewSearchBuilder"); modNameCache.put("minecraft", "Minecraft"); modNameCache.put("c", "Global"); modNameCache.put("global", "Global"); |
