ShieldCommunity / SternalBoard

Lightweight & animated scoreboard, packet-based designed for easy usage
https://www.spigotmc.org/resources/sternalboard-lightweight-animated-scoreboard.89245/
MIT License
64 stars 20 forks source link

Update Structure.java #19

Closed bixgamer707 closed 2 years ago

xism4 commented 2 years ago

Removing instance will create a memory leak, & scoreboardmanager will trow this issue: [17:52:50 WARN]: Exception in thread "Craft Scheduler Thread - 59" [17:52:50 WARN]: org.apache.commons.lang.UnhandledException: Plugin SternalBoard v1.5 generated an exception while executing task 2 at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.lang.NullPointerException