Archiviert
13
0

Fix ParticleInventory

Dieser Commit ist enthalten in:
yoyosource 2021-10-09 17:22:57 +02:00
Ursprung 68a0837f7c
Commit ce818d6821

Datei anzeigen

@ -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);
});