netherfoam / MaxBans

The original MaxBans - A Bukkit plugin to manage account bans, mutes and punishments
12 stars 20 forks source link

NoSuchMethodError for 1.11.2 #62

Closed Dart2112 closed 6 years ago

Dart2112 commented 7 years ago

[11:43:35] [Craft Scheduler Thread - 12/WARN]: [MaxBans] Plugin MaxBans v2.3 generated an exception while executing task 41 java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; at org.maxgamer.maxbans.util.Metrics.postPlugin(Metrics.java:375) ~[?:?] at org.maxgamer.maxbans.util.Metrics.access$4(Metrics.java:368) ~[?:?] at org.maxgamer.maxbans.util.Metrics$1.run(Metrics.java:263) ~[?:?] at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[Spigot.jar:git-Spigot-7d78b81-270755d] at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [Spigot.jar:git-Spigot-7d78b81-270755d] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_111] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_111] at java.lang.Thread.run(Unknown Source) [?:1.8.0_111] you need to update your metrics as it's broken in 1.11.2