Add EventParticle #29
@ -160,7 +160,10 @@ public class ParticleInventory {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SWListInv<SpecialParticle> particleSWListInv = new SWListInv<>(player, "§6Partikel", false, particleList, (clickType, particle) -> lobbyPlayer.setParticle(particle));
|
SWListInv<SpecialParticle> particleSWListInv = new SWListInv<>(player, "§6Partikel", false, particleList, (clickType, particle) -> {
|
||||||
|
if (particle == null) return;
|
||||||
|
lobbyPlayer.setParticle(particle);
|
||||||
|
});
|
||||||
particleSWListInv.setItem(49, Material.BARRIER, "§8Keine Partikel", new ArrayList<>(), false, clickType -> {
|
particleSWListInv.setItem(49, Material.BARRIER, "§8Keine Partikel", new ArrayList<>(), false, clickType -> {
|
||||||
lobbyPlayer.setParticle(null);
|
lobbyPlayer.setParticle(null);
|
||||||
});
|
});
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren