forked from SteamWar/SteamWar
Remove SkinCommand
Fix TickManager15
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user