Fix incorrect not found error when a player was not found

This commit is contained in:
Rsl1122 2019-05-02 17:06:22 +03:00
parent 6e78e9e7ad
commit 3857822233

View File

@ -105,7 +105,7 @@ public class PlayerPageHandler implements PageHandler {
infoSystem.generateAndCachePlayerPage(uuid);
response = ResponseCache.loadResponse(PageId.PLAYER.of(uuid));
}
return response != null ? response : responseFactory.serverNotFound404();
return response != null ? response : responseFactory.playerNotFound404();
}
@Override