Fix ParticleInventory
Dieser Commit ist enthalten in:
Ursprung
68a0837f7c
Commit
ce818d6821
@ -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 -> {
|
||||
lobbyPlayer.setParticle(null);
|
||||
});
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren