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

Compatibility issues with Optifine #25

Closed
AYuPro opened this issue Oct 23, 2016 · 1 comment
Closed

Compatibility issues with Optifine #25

AYuPro opened this issue Oct 23, 2016 · 1 comment

Comments

@AYuPro
Copy link

AYuPro commented Oct 23, 2016

When FlatColoredBlocks and Optifine run together error occurse on main menu, and console filled with

[22:43:10] [Client thread/INFO]: [Reflector:handleException:914]: java.lang.reflect.InvocationTargetException
[22:43:10] [Client thread/INFO]: [Reflector:handleException:914]: at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
[22:43:10] [Client thread/INFO]: [Reflector:handleException:914]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[22:43:10] [Client thread/INFO]: [Reflector:handleException:914]: at java.lang.reflect.Method.invoke(Unknown Source)
[22:43:10] [Client thread/INFO]: [Reflector:handleException:914]: at Reflector.callVoid(Reflector.java:336)
[22:43:10] [Client thread/INFO]: [Reflector:handleException:914]: at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1399)
[22:43:10] [Client thread/INFO]: [Reflector:handleException:914]: at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1076)
[22:43:10] [Client thread/INFO]: [Reflector:handleException:914]: at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:371)
[22:43:10] [Client thread/INFO]: [Reflector:handleException:914]: at net.minecraft.client.main.Main.main(SourceFile:124)
[22:43:10] [Client thread/INFO]: [Reflector:handleException:914]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[22:43:10] [Client thread/INFO]: [Reflector:handleException:914]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[22:43:10] [Client thread/INFO]: [Reflector:handleException:914]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[22:43:10] [Client thread/INFO]: [Reflector:handleException:914]: at java.lang.reflect.Method.invoke(Unknown Source)
[22:43:10] [Client thread/INFO]: [Reflector:handleException:914]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[22:43:10] [Client thread/INFO]: [Reflector:handleException:914]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[22:43:10] [Client thread/INFO]: [java.lang.Throwable:printStackTrace:-1]: Caused by: java.lang.NoClassDefFoundError: com/mojang/realmsclient/gui/ChatFormatting
[22:43:10] [Client thread/INFO]: [java.lang.Throwable:printStackTrace:-1]: at mod.flatcoloredblocks.gui.GuiScreenStartup.func_73863_a(GuiScreenStartup.java:53)
[22:43:10] [Client thread/INFO]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:382)
[22:43:10] [Client thread/INFO]: [java.lang.Throwable:printStackTrace:-1]: ... 14 more

@AlgorithmX2
Copy link
Collaborator

For some reason with optifine installed, the realmsclient classes are missing, not sure why that would be. Sounds like an issue on its own.

That said I used the wrong class, and switched to the TextFormatting class instead which is what is normally used, which will probobly resolve the issue.

https://minecraft.curseforge.com/projects/flat-colored-blocks/files/2338922

But to be frank, this crash isn't FCB's fault.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants