Verified Commit aa73bfec authored by Yannick Schinko's avatar Yannick Schinko
Browse files

Changed colors

And removed some redundant null checks
parent 75af408d
Pipeline #380 passed with stages
in 5 minutes and 7 seconds
......@@ -2,13 +2,12 @@ package team.aura_dev.aurasudo.platform.bungeecord.player;
import java.util.UUID;
import javax.annotation.Nonnull;
import lombok.NonNull;
import net.md_5.bungee.api.ProxyServer;
import net.md_5.bungee.api.connection.ProxiedPlayer;
import team.aura_dev.aurasudo.platform.common.player.PlayerDataCommon;
public class PlayerDataBungeeCord extends PlayerDataCommon {
public PlayerDataBungeeCord(@NonNull UUID uuid) {
public PlayerDataBungeeCord(@Nonnull UUID uuid) {
super(uuid, getPlayerFromUUID(uuid).getName());
}
......
......@@ -128,9 +128,9 @@ public abstract class AuraSudoBase implements AuraSudoApi, AuraSudoBaseBootstrap
// Generated with http://www.patorjk.com/software/taag/#p=display&f=Straight&t=AuraSudo
private List<String> generateAsciiBanner() {
return Arrays.asList(
" §9 §6 __",
" §9 /\\ _ _ §6(_ _| _ §9AuraSudo §6v" + VERSION,
" §9/--\\|_|| (_|§6__)|_|(_|(_) §8Proudly running on " + getFullPlatform(),
" §b §e __",
" §b /\\ _ _ §e(_ _| _ §bAuraSudo §ev" + VERSION,
" §b/--\\|_|| (_|§e__)|_|(_|(_) §8Proudly running on " + getFullPlatform(),
"");
}
}
......@@ -4,11 +4,10 @@ import cn.nukkit.Server;
import cn.nukkit.player.Player;
import java.util.UUID;
import javax.annotation.Nonnull;
import lombok.NonNull;
import team.aura_dev.aurasudo.platform.common.player.PlayerDataCommon;
public class PlayerDataNukkit extends PlayerDataCommon {
public PlayerDataNukkit(@NonNull UUID uuid) {
public PlayerDataNukkit(@Nonnull UUID uuid) {
super(uuid, getPlayerFromUUID(uuid).getName());
}
......
......@@ -2,13 +2,12 @@ package team.aura_dev.aurasudo.platform.spigot.player;
import java.util.UUID;
import javax.annotation.Nonnull;
import lombok.NonNull;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import team.aura_dev.aurasudo.platform.common.player.PlayerDataCommon;
public class PlayerDataSpigot extends PlayerDataCommon {
public PlayerDataSpigot(@NonNull UUID uuid) {
public PlayerDataSpigot(@Nonnull UUID uuid) {
super(uuid, getPlayerFromUUID(uuid).getName());
}
......
......@@ -2,13 +2,12 @@ package team.aura_dev.aurasudo.platform.sponge.player;
import java.util.UUID;
import javax.annotation.Nonnull;
import lombok.NonNull;
import org.spongepowered.api.Sponge;
import org.spongepowered.api.entity.living.player.Player;
import team.aura_dev.aurasudo.platform.common.player.PlayerDataCommon;
public class PlayerDataSponge extends PlayerDataCommon {
public PlayerDataSponge(@NonNull UUID uuid) {
public PlayerDataSponge(@Nonnull UUID uuid) {
super(uuid, getPlayerFromUUID(uuid).getName());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment