From ae15e16daeafb0862459cf645f8b3cb00c4f7417 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Sun, 22 Dec 2024 22:13:25 +0100 Subject: [PATCH] Update BauMemberUpdate --- .../de/steamwar/bausystem/features/world/BauMemberUpdate.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/world/BauMemberUpdate.java b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/world/BauMemberUpdate.java index 1e1eba45..7077cd56 100644 --- a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/world/BauMemberUpdate.java +++ b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/world/BauMemberUpdate.java @@ -21,7 +21,6 @@ package de.steamwar.bausystem.features.world; import de.steamwar.bausystem.BauSystem; import de.steamwar.bausystem.Permission; -import de.steamwar.bausystem.region.GlobalRegion; import de.steamwar.bausystem.region.RegionSystem; import de.steamwar.bausystem.utils.BauMemberUpdateEvent; import de.steamwar.bausystem.utils.bossbar.BauSystemBossbar; @@ -76,7 +75,7 @@ public class BauMemberUpdate extends PacketHandler implements Listener { SPECTATORS.remove(player); newBuilder.add(player); player.removePotionEffect(PotionEffectType.GLOWING); - BossBarService.instance.remove(player, GlobalRegion.getInstance(), "spectator"); + BossBarService.instance.remove(player, RegionSystem.INSTANCE.getGlobalRegion(), "spectator"); } } });