Compare commits
3 Commits
847644d8cf
...
f25e6fbf93
Author | SHA1 | Date | |
---|---|---|---|
f25e6fbf93 | |||
f083a99702 | |||
7821b20758 |
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user