Sponge Build: spongevanilla-1.10.2-5.0.0-BETA-92.jar
Java Version: 1.8.0_65
Minecraft Logs
[22:14:59 ERROR] [Sponge]: Could not pass MessageChannelEvent$Chat$Impl to Plugin{id=scram, name=ScraM, version=1.0, source=mods/scram-mod.jar}
java.lang.NoSuchMethodError: org.spongepowered.api.world.Location.setBlockType(Lorg/spongepowered/api/block/BlockType;Lorg/spongepowered/api/event/cause/Cause;)Z
Issue:
I picked recent (bleeding) versions of the API and SpongeVanilla. However, they don’t seem to agree on the method signature of Location.setBlockType(). I compile against the API and it says the method takes 2 parameters: BlockType and Cause. However, in SpongeVanilla, the same method accepts just one parameter (BlockType), resulting in the runtime error above.
Is there a version of the API that matches the 5.0.0-BETA-92 SpongeVanilla?
Thanks.