Particle #4
@ -12,6 +12,10 @@ PORTAL_COMMAND_LIST_SHORT_INFO = §e{0} §8- §7{1} §7Pos1§8(§7{2}§8) §7Pos
|
|||||||
PORTAL_NO_WORLDEDIT_SELECTION = §cKeine WorldEdit Selection
|
PORTAL_NO_WORLDEDIT_SELECTION = §cKeine WorldEdit Selection
|
||||||
|
|
||||||
# Particle
|
# Particle
|
||||||
|
PARTICLE_INVENTORY = §6Partikel
|
||||||
|
PARTICLE_DESELECT = §8Keine Partikel
|
||||||
|
PARTICLE_LOCKED = {0} §8- §c§lGesperrt
|
||||||
|
|
||||||
PARTICLE_ATTRIBUTE_CIRCLE = §8-§f Ring
|
PARTICLE_ATTRIBUTE_CIRCLE = §8-§f Ring
|
||||||
PARTICLE_ATTRIBUTE_BI_CIRCLE = §8-§f Doppel Ring
|
PARTICLE_ATTRIBUTE_BI_CIRCLE = §8-§f Doppel Ring
|
||||||
PARTICLE_ATTRIBUTE_CLOUD = §8-§f Wolke
|
PARTICLE_ATTRIBUTE_CLOUD = §8-§f Wolke
|
||||||
|
@ -22,6 +22,7 @@ package de.steamwar.lobby.particle;
|
|||||||
import de.steamwar.inventory.SWInventory;
|
import de.steamwar.inventory.SWInventory;
|
||||||
import de.steamwar.inventory.SWItem;
|
import de.steamwar.inventory.SWItem;
|
||||||
import de.steamwar.inventory.SWListInv;
|
import de.steamwar.inventory.SWListInv;
|
||||||
|
import de.steamwar.lobby.LobbySystem;
|
||||||
import de.steamwar.lobby.util.LobbyPlayer;
|
import de.steamwar.lobby.util.LobbyPlayer;
|
||||||
import de.steamwar.sql.Event;
|
import de.steamwar.sql.Event;
|
||||||
import de.steamwar.sql.SteamwarUser;
|
import de.steamwar.sql.SteamwarUser;
|
||||||
@ -82,12 +83,12 @@ public class ParticleInventory {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SWListInv<BaseParticle> particleSWListInv = new SWListInv<>(player, "§6Partikel", false, particleList, (clickType, particle) -> {
|
SWListInv<BaseParticle> particleSWListInv = new SWListInv<>(player, LobbySystem.getMessage().parse("PARTICLE_INVENTORY", player), false, particleList, (clickType, particle) -> {
|
||||||
if (particle == null) return;
|
if (particle == null) return;
|
||||||
lobbyPlayer.setParticle(particle);
|
lobbyPlayer.setParticle(particle);
|
||||||
player.closeInventory();
|
player.closeInventory();
|
||||||
});
|
});
|
||||||
particleSWListInv.setItem(49, Material.BARRIER, "§8Keine Partikel", new ArrayList<>(), false, clickType -> {
|
particleSWListInv.setItem(49, Material.BARRIER, LobbySystem.getMessage().parse("PARTICLE_DESELECT", player), new ArrayList<>(), false, clickType -> {
|
||||||
lobbyPlayer.setParticle(null);
|
lobbyPlayer.setParticle(null);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren