9
0
mirror of https://github.com/Xiao-MoMi/Custom-Nameplates.git synced 2025-12-19 15:09:23 +00:00

shut down scheduler on disable

This commit is contained in:
XiaoMoMi
2024-12-21 19:39:30 +08:00
parent 26b593950d
commit 6f0e61ae48
2 changed files with 2 additions and 19 deletions

View File

@@ -310,7 +310,6 @@ public class BukkitCustomNameplates extends CustomNameplates implements Listener
this.scheduledMainTask = getScheduler().asyncRepeating(mainTask, 50, 50, TimeUnit.MILLISECONDS);
}
@Override
public InputStream getResourceStream(String filePath) {
return getBootstrap().getResource(filePath.replace("\\", "/"));