res.send(renderPlayerBar(req.player, equippedItems) + renderProfilePage(req.player));
});
-app.get('/player/skills', authEndpoint, blockPlayerInFight, async (req: AuthRequest, res: Response) => {
+app.get('/player/skills', authEndpoint, async (req: AuthRequest, res: Response) => {
const skills = await getPlayerSkills(req.player.id);
res.send(renderSkills(skills));
});
-app.get('/player/inventory', authEndpoint, blockPlayerInFight, async (req: AuthRequest, res: Response) => {
+app.get('/player/inventory', authEndpoint, async (req: AuthRequest, res: Response) => {
const [inventory, items] = await Promise.all([
getInventory(req.player.id),
getPlayersItems(req.player.id)