Fix build
All checks were successful
SteamWarCI Build successful

This commit is contained in:
2026-03-15 12:54:43 +01:00
parent ca70c6685c
commit 5e19629df5

View File

@@ -514,11 +514,8 @@ public class PluginMessage extends BasicListener {
Player player = event.getPlayer();
String brand = event.getBrand();
boolean lunarclient = brand.startsWith("lunarclient:");
VelocityCore.getLogger().log(knownBrands.contains(brand) || lunarclient ? Level.INFO : Level.WARNING, () -> player.getUsername() + " joins with brand: " + brand);
if(lunarclient)
lunar.sendRestrictions(player);
VelocityCore.getLogger().log(knownBrands.contains(brand) ? Level.INFO : Level.WARNING, () -> player.getUsername() + " joins with brand: " + brand);
if(brand.equals("badlion"))
badlion.sendRestrictions(player);
}