Botania

Botania

133M Downloads

Unable to compile (missing PacketSync constructor?)

Xaphiosis opened this issue ยท 2 comments

commented

Version Information

Forge version: 14.23.4.2705 (as per build.properties)
Botania version: master
javac -version: 1.8.0_181
OS: Xubuntu 16.04

Further Information

Attempting to build via IntelliJ or via ./gradlew jar results in:

:compileJava
Botania/build/sources/main/java/vazkii/botania/common/core/handler/InternalMethodHandler.java:264: error: no suitable constructor found for PacketSync(EntityPlayer,int,ItemStack)
			PacketHandler.INSTANCE.sendTo(new PacketSync(player, slot, BaublesApi.getBaublesHandler(player).getStackInSlot(slot)), (EntityPlayerMP) player);
			                              ^
    constructor PacketSync.PacketSync() is not applicable
      (actual and formal argument lists differ in length)
    constructor PacketSync.PacketSync(EntityPlayer,int) is not applicable
      (actual and formal argument lists differ in length)

This has been happening for at least a month for me, but there appears to be no one else complaining of this. I tried using a fresh checkout, but same story. Is this known? Specific to my setup?

commented

Your Baubles jar seems to be out of date.

commented

Correct, this was indeed the case. Thank you!

Solved by:

git clean -fxd
git reset --hard origin/master
cd ~/.gradle && find . -iname "*baubl*"| xargs rm -rf