Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small Fixes #11

Merged
merged 6 commits into from
Feb 14, 2024
Merged

Small Fixes #11

merged 6 commits into from
Feb 14, 2024

Conversation

glowredman
Copy link
Member

See commit history.

The reason for the changes in LocalizationHandler is this Exception:

[14:00:58] [Client thread/ERROR] [FML/]: Unable to access any field [languageList, field_74816_c, d] on type net.minecraft.util.StringTranslate
cpw.mods.fml.relauncher.ReflectionHelper$UnableToAccessFieldException: java.lang.NullPointerException
	at cpw.mods.fml.relauncher.ReflectionHelper.getPrivateValue(ReflectionHelper.java:121) ~[modpack.jar:?]
	at cpw.mods.fml.common.ObfuscationReflectionHelper.getPrivateValue(ObfuscationReflectionHelper.java:60) [ObfuscationReflectionHelper.class:?]
	at remoteio.common.core.handler.LocalizationUpdater$StringTranslateDelegate.inject(LocalizationUpdater.java:152) [LocalizationUpdater$StringTranslateDelegate.class:?]
	at remoteio.common.core.handler.LocalizationUpdater.loadLangFiles(LocalizationUpdater.java:123) [LocalizationUpdater.class:?]
	at remoteio.common.core.handler.LocalizationUpdater.access$500(LocalizationUpdater.java:31) [LocalizationUpdater.class:?]
	at remoteio.common.core.handler.LocalizationUpdater$2.func_110549_a(LocalizationUpdater.java:112) [LocalizationUpdater$2.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SimpleReloadableResourceManager.java:143) [brg.class:?]
	at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SimpleReloadableResourceManager.java:121) [brg.class:?]
	at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:609) [bao.class:?]
	at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:327) [FMLClientHandler.class:?]
	at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:552) [bao.class:?]
	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878) [bao.class:?]
	at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
	at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:165) [lwjgl3ify-1.5.14-forgePatches.jar:?]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:29) [lwjgl3ify-1.5.14-forgePatches.jar:?]
Caused by: java.lang.NullPointerException
	at java.base/java.util.Objects.requireNonNull(Objects.java:233) ~[?:?]
	at java.base/java.lang.invoke.DirectMethodHandle.checkBase(DirectMethodHandle.java:547) ~[?:?]
	at java.base/jdk.internal.reflect.MethodHandleObjectFieldAccessorImpl.get(MethodHandleObjectFieldAccessorImpl.java:57) ~[?:?]
	at java.base/java.lang.reflect.Field.get(Field.java:444) ~[?:?]
	at cpw.mods.fml.relauncher.ReflectionHelper.getPrivateValue(ReflectionHelper.java:117) ~[modpack.jar:?]
	... 16 more

@glowredman glowredman requested a review from a team February 14, 2024 19:47
@Dream-Master Dream-Master merged commit a13a812 into master Feb 14, 2024
1 check passed
@Dream-Master Dream-Master deleted the small-fixes branch February 14, 2024 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants