Remove SkinCommand

Fix TickManager15
This commit is contained in:
2025-07-31 14:12:30 +02:00
parent 698f917828
commit e6196251a6
2 changed files with 2 additions and 2 deletions
@@ -19,7 +19,7 @@
package de.steamwar.bausystem.utils; package de.steamwar.bausystem.utils;
import de.steamwar.bausystem.region.GlobalRegion; import de.steamwar.bausystem.region.Region;
import de.steamwar.bausystem.utils.bossbar.BossBarService; import de.steamwar.bausystem.utils.bossbar.BossBarService;
import de.steamwar.bausystem.utils.tps.TPSFreezeUtils; import de.steamwar.bausystem.utils.tps.TPSFreezeUtils;
import de.steamwar.bausystem.utils.tps.TPSLimitUtils; import de.steamwar.bausystem.utils.tps.TPSLimitUtils;
@@ -46,7 +46,7 @@ public class TickManager15 implements TickManager, Listener {
if (currentlyStepping) { if (currentlyStepping) {
currentlyStepping = false; currentlyStepping = false;
Bukkit.getOnlinePlayers().forEach(player -> { Bukkit.getOnlinePlayers().forEach(player -> {
BossBarService.instance.remove(player, GlobalRegion.getInstance(), "TickStep"); BossBarService.instance.remove(player, Region.getGlobalRegion(), "TickStep");
}); });
} }
TPSWarpUtils.warp(tickRate); TPSWarpUtils.warp(tickRate);