Dieser Commit ist enthalten in:
Ursprung
b34f4022b1
Commit
28f4c89d32
@ -78,7 +78,7 @@ public class ParticleInventory {
|
|||||||
addParticle(particleList, particle, clickable, player);
|
addParticle(particleList, particle, clickable, player);
|
||||||
}
|
}
|
||||||
for (SpecialTeamParticle particle : SpecialTeamParticle.particles) {
|
for (SpecialTeamParticle particle : SpecialTeamParticle.particles) {
|
||||||
if (particle.getTeamId() == 0 || steamwarUser.getTeam() == particle.getTeamId()) {
|
if (particle.getTeamId() == 0 || steamwarUser.getTeam() == particle.getTeamId() || steamwarUser.getUserGroup() != UserGroup.Member) {
|
||||||
addParticle(particleList, particle, true, player);
|
addParticle(particleList, particle, true, player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,6 +43,7 @@ public class LobbyPlayer {
|
|||||||
particle = null;
|
particle = null;
|
||||||
String saved = UserConfig.getConfig(userId, "lobby-particle");
|
String saved = UserConfig.getConfig(userId, "lobby-particle");
|
||||||
if (saved != null) {
|
if (saved != null) {
|
||||||
|
try {
|
||||||
String[] strings = saved.split("@");
|
String[] strings = saved.split("@");
|
||||||
switch (strings[0]) {
|
switch (strings[0]) {
|
||||||
case "PlayerParticle":
|
case "PlayerParticle":
|
||||||
@ -69,6 +70,9 @@ public class LobbyPlayer {
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
setParticle(null);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren