9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-29 11:59:11 +00:00
This commit is contained in:
XiaoMoMi
2024-10-16 16:05:27 +08:00
parent a8bef068f7
commit 6eb9306115
2 changed files with 3 additions and 1 deletions

View File

@@ -236,6 +236,8 @@ public class BukkitCustomFishingPluginImpl extends BukkitCustomFishingPlugin {
this.storageManager.disable();
this.hologramManager.disable();
this.commandManager.unregisterFeatures();
this.scheduler.shutdownScheduler();
this.scheduler.shutdownExecutor();
}
@Override

View File

@@ -933,7 +933,7 @@ public class BukkitGameManager implements GameManager {
@Override
protected void tick() {
timer++;
if (timer % (21 - settings.difficulty() / 5) == 0) {
if (timer % ((106 - (int) settings.difficulty()) / 5) == 0) {
movePointer();
}
showUI();