13
0

Particle #4

Zusammengeführt
Lixfel hat 24 Commits von Particle nach master 2022-03-26 16:26:40 +01:00 zusammengeführt
Nur Änderungen aus Commit 54ad572e06 werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -82,8 +82,7 @@ public class LobbyPlayer {
if (particle == null) { if (particle == null) {
UserConfig.removePlayerConfig(userId, "lobby-particle"); UserConfig.removePlayerConfig(userId, "lobby-particle");
} else { } else {
Class<?> clazz = particle.getClass(); String saved = particle.getClass().getSimpleName() + "@" + ((Enum<?>) particle).name();
String saved = clazz.getSimpleName() + "@" + ((Enum<?>) particle).name();
UserConfig.updatePlayerConfig(userId, "lobby-particle", saved); UserConfig.updatePlayerConfig(userId, "lobby-particle", saved);
} }
this.particle = particle; this.particle = particle;