forked from SteamWar/SteamWar
Fix build
This commit is contained in:
@@ -514,11 +514,8 @@ public class PluginMessage extends BasicListener {
|
|||||||
Player player = event.getPlayer();
|
Player player = event.getPlayer();
|
||||||
|
|
||||||
String brand = event.getBrand();
|
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);
|
VelocityCore.getLogger().log(knownBrands.contains(brand) ? Level.INFO : Level.WARNING, () -> player.getUsername() + " joins with brand: " + brand);
|
||||||
if(lunarclient)
|
|
||||||
lunar.sendRestrictions(player);
|
|
||||||
if(brand.equals("badlion"))
|
if(brand.equals("badlion"))
|
||||||
badlion.sendRestrictions(player);
|
badlion.sendRestrictions(player);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user