mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-16 15:24:44 +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.proto.LineupInfoOuterClass.LineupInfo;
|
||||||
import emu.lunarcore.server.packet.send.PacketSyncLineupNotify;
|
import emu.lunarcore.server.packet.send.PacketSyncLineupNotify;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Synchronized;
|
|
||||||
|
|
||||||
@Entity(useDiscriminator = false) @Getter
|
@Entity(useDiscriminator = false) @Getter
|
||||||
public class PlayerLineup {
|
public class PlayerLineup {
|
||||||
@@ -53,8 +52,7 @@ public class PlayerLineup {
|
|||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Synchronized
|
public synchronized List<Integer> getAvatars() {
|
||||||
public List<Integer> getAvatars() {
|
|
||||||
return avatars;
|
return avatars;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user