forked from MinecraftUtilities/Backend
indicate that the server and player was not in the cache
This commit is contained in:
parent
3a3a2e223f
commit
b011fdbede
@ -68,6 +68,7 @@ public class PlayerService {
|
||||
);
|
||||
|
||||
playerCacheRepository.save(player);
|
||||
player.setCached(-1); // Indicate that the player is not cached
|
||||
return player;
|
||||
}
|
||||
|
||||
|
@ -58,6 +58,7 @@ public class ServerService {
|
||||
platform.getPinger().ping(hostname, port),
|
||||
System.currentTimeMillis()
|
||||
);
|
||||
server.setCached(-1); // Indicate that the server is not cached
|
||||
serverCacheRepository.save(server);
|
||||
return server;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user