Reliquary Reincarnations

Reliquary Reincarnations

71M Downloads

[1.10.2-1.3.3.585] java.lang.ClassCastException: xreliquary.items.ItemVoidTear$VoidTearListener cannot be cast to net.minecraft.entity.player.EntityPlayerMP

RealGrep opened this issue ยท 7 comments

commented

Every pattern I create in the AE2 pattern grid suddenly started being "Invalid pattern". So I looked into the logs, and found this on the server side:

http://hastebin.com/uratutupot.sql

Basically:
java.util.concurrent.ExecutionException: java.lang.ClassCastException: xreliquary.items.ItemVoidTear$VoidTearListener cannot be cast to net.minecraft.entity.player.EntityPlayerMP

Not entirely sure the issue is on your end, but it only appeared with the latest version you just released, and that did try to fix something to do with Void Tears.

EDIT: Indeed, backing off to the previous version of Reliquary allows me to make AE2 patterns, once again.

commented

Same problem here.

commented

So I have included new logic for void tear and that's what is breaking AE now.

But the cause is really that AE expects crafting listeners to be just players when they can be anything so a check will need to be added on AE side to make sure that it's handling only players in this part of the code https://github.com/AppliedEnergistics/Applied-Energistics-2/blob/master/src/main/java/appeng/container/implementations/ContainerPatternTerm.java#L498

commented

This isnt only related to AE, we get a server crash when someone tries to use Chisel and Bits.
https://paste.ubuntu.com/23419764/

commented

@ozhound , update your C&B. It's already fixed there: ChiselsAndBits/Chisels-and-Bits#159

commented

Not only the mods above but I get the same when accessing Inductive Automation machines http://pastebin.ubuntu.com/23457117/ we've had similar crashed with other mods too.

commented

Sure, but did you report this to the mod authors? Because the issue here is really that they just assume they will only ever get player from a collection that can have pretty much anything in it.

commented

Closing as the other mods have closed the interaction issues here.