sofianedjerbi / BestViewDistance

A view distance plugin for Paper. Created to boost ping/tps and view distance.
38 stars 8 forks source link

BestViewDistance v12 generated an exception while executing task 27 #33

Closed Weasel-Beans closed 5 years ago

Weasel-Beans commented 5 years ago

Describe the bug A message that appears in my console every few seconds.

To Reproduce Steps to reproduce the behavior: Turn on the server and look at the console.

Expected behavior Nothing

Timings https://timings.aikar.co/?id=afa0f97a84084338a6cb0ba3bd33c6d9

Additional context [19:17:15 WARN]: [BestViewDistance] Plugin BestViewDistance v12 generated an exception while executing task 27 org.apache.commons.lang.NotImplementedException: Per-Player View Distance APIs need further understanding to properly implement at org.bukkit.craftbukkit.v1_14_R1.entity.CraftPlayer.getViewDistance(CraftPlayer.java:1989) ~[patched_1.14.3.jar:git-Paper-121] at me.lxct.bestviewdistance.functions.BVDPlayer.getCurrentViewDistance(BVDPlayer.java:156) ~[?:?] at me.lxct.bestviewdistance.functions.util.Calculations.applyViewDistance(Calculations.java:54) ~[?:?] at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.14.3.jar:git-Paper-121] at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.14.3.jar:git-Paper-121] at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.14.3.jar:git-Paper-121] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]

sofianedjerbi commented 5 years ago

Please read issue #32