Compare commits
2 Commits
2aaf0c6ac8
...
7348ed5d28
Author | SHA1 | Date | |
---|---|---|---|
7348ed5d28 | |||
3b4eaef455 |
@ -266,7 +266,7 @@ defmodule Amethyst.Server.Configuration do
|
|||||||
Logger.error("Unhandled but known packet #{elem(tuple, 0)}")
|
Logger.error("Unhandled but known packet #{elem(tuple, 0)}")
|
||||||
{:unhandled, state}
|
{:unhandled, state}
|
||||||
end
|
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
|
{[brand], ""} = Read.start(data) |> Read.string |> Read.stop
|
||||||
Logger.info("Client using brand: #{brand}")
|
Logger.info("Client using brand: #{brand}")
|
||||||
{:ok, Keyword.put(state, :brand, brand)}
|
{:ok, Keyword.put(state, :brand, brand)}
|
||||||
|
Loading…
Reference in New Issue
Block a user