mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-14 22:34:35 +01:00
Fix mongo error with lombok's @Synchronized
This commit is contained in:
@@ -9,7 +9,6 @@ import emu.lunarcore.game.avatar.GameAvatar;
|
||||
import emu.lunarcore.proto.LineupInfoOuterClass.LineupInfo;
|
||||
import emu.lunarcore.server.packet.send.PacketSyncLineupNotify;
|
||||
import lombok.Getter;
|
||||
import lombok.Synchronized;
|
||||
|
||||
@Entity(useDiscriminator = false) @Getter
|
||||
public class PlayerLineup {
|
||||
@@ -53,8 +52,7 @@ public class PlayerLineup {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@Synchronized
|
||||
public List<Integer> getAvatars() {
|
||||
public synchronized List<Integer> getAvatars() {
|
||||
return avatars;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user