mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-04 21:36:51 +01:00
Fix database error when loading friend list
This commit is contained in:
1 parent
66c6554bb9
commit
9c5eb2c637
1 file changed
+1
-1
@@ -247,7 +247,7 @@ public class FriendList extends PlayerManager {
|
||||
// Database
|
||||
|
||||
public synchronized void loadFromDatabase() {
|
||||
var friendships = Nebula.getGameDatabase().getObjects(Friendship.class, "ownerUid", this.getPlayer().getUid());
|
||||
var friendships = Nebula.getGameDatabase().getObjects(Friendship.class, "playerUid", this.getPlayer().getUid());
|
||||
|
||||
friendships.forEach(friendship -> {
|
||||
// Set ownership first
|
||||
|
||||
Reference in new issue
Block a user