remove debug log

This commit is contained in:
Kodi Craft 2024-10-06 18:02:54 +02:00
parent c598de4e7b
commit e45258ba6f
Signed by: kodi
GPG Key ID: 69D9EED60B242822

View File

@ -113,7 +113,7 @@ defmodule Amethyst.ConnectionState.Login do
hash = Amethyst.Minecraft.Sha1.hash(secret <> pubkey)
url = Application.get_env(:amethyst, :session_server, "https://sessionserver.mojang.com") <> "/session/minecraft/hasJoined?username=" <>
Map.get(state, :name) <> "&serverId=" <> hash # I don't think we need to verify the IP in the use case of Amethyst...
Logger.debug(url)
response = Req.get!(url,
headers: [
{"user-agent", "Amethyst/1.0"}