Dynious / RefinedRelocation

A former ModJam 3 entry! Transport, filter and other cool things!
GNU Lesser General Public License v3.0
23 stars 8 forks source link

Crash with Embers #404

Closed RoyAwesome closed 7 years ago

RoyAwesome commented 7 years ago

Hey dudes, your mod is crashing with Embers

Place a Embers Copper Cell, then look at it and press sneak, and you get a crash.

Description: Unexpected error

java.lang.ClassCastException: teamroots.embers.power.DefaultEmberCapability cannot be cast to net.blay09.mods.refinedrelocation.api.grid.ISortingGridMember
at net.blay09.mods.refinedrelocation.client.BlockHighlightHandler.onBlockHighlight(BlockHighlightHandler.java:25)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_831_BlockHighlightHandler_onBlockHighlight_DrawBlockHighlightEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
    at net.minecraftforge.client.ForgeHooksClient.onDrawBlockHighlight(ForgeHooksClient.java:161)
    at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at Reflector.callBoolean(Reflector.java:352)
    at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1748)
    at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1557)
    at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1336)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1076)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:371)
    at net.minecraft.client.main.Main.main(SourceFile:124)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

crash-2016-11-20_02.58.59-client.txt

Here is the same issue cross posted in the All The Mods github issue list: https://github.com/whatthedrunk/allthemods/issues/290

BlayTheNinth commented 7 years ago

This is an issue on Embers side, they need to return null here: https://github.com/RootsTeam/Embers/blob/423989c30fbd559e421a19436aa011e704e8b254/src/main/java/teamroots/embers/tileentity/TileEntityCopperCell.java#L100 Please report the issue over at https://github.com/RootsTeam/Embers