Compare commits

...

3 Commits

Author SHA1 Message Date
f25e6fbf93
Merge branch 'first-attempt' of git.colon-three.com:kodi/amethyst into first-attempt
All checks were successful
Build & Test / nix-build (push) Successful in 2m38s
Build & Test / nix-build (pull_request) Successful in 2m41s
2024-10-03 20:36:37 +02:00
f083a99702
merge 2024-10-03 20:36:26 +02:00
7821b20758
Minor tweaks 2024-10-03 20:35:50 +02:00

View File

@ -60,7 +60,7 @@ defmodule Amethyst.ConnectionState.Login do
Macros.defpacket_serverbound :login_acknowledged, 0x03, 767, []
Macros.defpacket_serverbound :cookie_response, 0x04, 767, [identifier: :string, payload: {:optional, :byte_array}]
def handle(%{packet_type: :login_start, name: name, player_uuid: player_uuid}, 767, state) do
def handle(%{packet_type: :login_start, name: name, player_uuid: player_uuid}, 767, _state) do
Logger.debug("Received login start for #{name} with UUID #{player_uuid}")
if Application.fetch_env!(:amethyst, :encryption) do
raise RuntimeError, "Encryption is not currently supported"