Hidendra / Plugin-Metrics

Metrics tools designed for minecraft plugins to gather statistical data
http://mcstats.org
85 stars 79 forks source link

NoSuchMethodError getVersion() for Sponge #76

Open MattBDev opened 8 years ago

MattBDev commented 8 years ago

I am using the SpongeAPI 4.+ and I am getting the following error:

java.lang.NoSuchMethodError: org.spongepowered.api.plugin.PluginContainer.getVersion()Ljava/lang/String;
        at com.plotsquared.stats.Metrics.postPlugin(Metrics.java:339) ~[Metrics.class:?]
        at com.plotsquared.stats.Metrics.access$400(Metrics.java:58) ~[Metrics.class:?]
        at com.plotsquared.stats.Metrics$1.run(Metrics.java:247) ~[Metrics$1.class:?]
        at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$10(Task.java:138) ~[Task$Builder.class:1.8.9-1763-4.1.0-BETA-1195]
        at org.spongepowered.api.scheduler.Task$Builder$$Lambda$223/1796816167.accept(Unknown Source) ~[?:?]
        at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$68(SchedulerBase.java:177) [SchedulerBase.class:1.8.9-1763-4.1.0-BETA-1195]
        at org.spongepowered.common.scheduler.SchedulerBase$$Lambda$226/1547231667.run(Unknown Source) [SchedulerBase.class:1.8.9-1763-4.1.0-BETA-1195]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_51]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_51]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_51]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_51]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
MattBDev commented 8 years ago

Bump! @Hidendra