Biomes O' Plenty

Biomes O' Plenty

151M Downloads

Dedicated Server calling client only class

taelnia opened this issue ยท 1 comments

commented

Starting with the "Finished Alters" commit: 1d01345 BOP can no longer be run on a dedicated server.

I tracked the issue to the itemInteractionForEntity function in both ItemSoulManipulator.java and ItemBOP.java. For the context of this routine on a dedicated server, Minecraft.getMinecraft().thePlayer is invalid, as it is of type EntityClientPlayerMP. A client class file that does not exist in the server jar.

I am unsure as to a possible workaround at this moment.

commented

If it comes down to it, they can just be ripped out as all they do is make it so items aren't used in creative mode which isn't all that important.