mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-27 19:47:49 +01:00
Fixed Server ID not being stored in ServerInfoFile.yml
This commit is contained in:
parent
9eb641b5ef
commit
87fd3b0762
@ -76,6 +76,7 @@ public class BungeeServerInfo extends ServerInfo {
|
||||
server.setWebAddress(address);
|
||||
|
||||
fromDatabase.save(server);
|
||||
server = fromDatabase.load(server.getUuid()).orElse(server);
|
||||
fromFile.save(server);
|
||||
}
|
||||
|
||||
|
@ -80,6 +80,7 @@ public class ServerServerInfo extends ServerInfo {
|
||||
server.setWebAddress(address);
|
||||
|
||||
fromDatabase.save(server);
|
||||
server = fromDatabase.load(server.getUuid()).orElse(server);
|
||||
fromFile.save(server);
|
||||
}
|
||||
|
||||
|
@ -75,6 +75,7 @@ public class VelocityServerInfo extends ServerInfo {
|
||||
server.setWebAddress(address);
|
||||
|
||||
fromDatabase.save(server);
|
||||
server = fromDatabase.load(server.getUuid()).orElse(server);
|
||||
fromFile.save(server);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user