Compare commits

..

No commits in common. "7348ed5d28a54bdcbbf2f6e65d8d282f292fb9d5" and "2aaf0c6ac8553b44a95a3af81bc295fb97dbbb73" have entirely different histories.

View File

@ -266,7 +266,7 @@ defmodule Amethyst.Server.Configuration do
Logger.error("Unhandled but known packet #{elem(tuple, 0)}")
{:unhandled, state}
end
defp handle_plugin_message("minecraft:brand", data, _client, state) do
defp handle_plugin_message("minecraft:brand", data, client, state) do
{[brand], ""} = Read.start(data) |> Read.string |> Read.stop
Logger.info("Client using brand: #{brand}")
{:ok, Keyword.put(state, :brand, brand)}