Archiviert
13
0

Fix EventParticle

Dieser Commit ist enthalten in:
yoyosource 2021-10-09 19:12:48 +02:00
Ursprung 6b70d6b2b0
Commit cbd7959341

Datei anzeigen

@ -146,7 +146,7 @@ public class ParticleInventory {
particleList.add(new SWListInv.SWListEntry<>(swItem, null));
}
if (userGroup.isTeamGroup() || events.contains(eventParticle.event)) {
if (eventParticle.placementTeams.length != 0 && (userGroup.isTeamGroup() || events.contains(eventParticle.event))) {
particleList.add(new SWListInv.SWListEntry<>(eventParticle.participationParticles.getItem(), eventParticle.participationParticles));
} else {
SWItem swItem = eventParticle.participationParticles.getItem();