Not checking if IContainerListener instanceof EntityPlayerMP
LatvianModder opened this issue ยท 1 comments
Issue description:
Caused by: java.lang.ClassCastException: com.feed_the_beast.ftbquests.util.FTBQuestsInventoryListener cannot be cast to net.minecraft.entity.player.EntityPlayerMP
at com.raoulvdberge.refinedstorage.container.ContainerCrafterManager$CrafterManagerListener.getPlayer(ContainerCrafterManager.java:42) ~[ContainerCrafterManager$CrafterManagerListener.class:?]
at com.raoulvdberge.refinedstorage.network.MessageCrafterManagerRequestSlotData.handle(MessageCrafterManagerRequestSlotData.java:24) ~[MessageCrafterManagerRequestSlotData.class:?]
Version
- Minecraft: 1.12
- Forge: 14.23.5.2815
- Refined Storage: 1.6.12
Does this issue occur on a server? yes
If a (crash)log is relevant for this issue, link it here:
@LatvianModder I have FTB Quests installed and when I open a crafter manager I can't reproduce this. Any tips?