This commit is contained in:
parent
a285e31175
commit
2aaf0c6ac8
@ -269,7 +269,6 @@ defmodule Amethyst.Server.Configuration do
|
|||||||
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}")
|
||||||
transmit({:clientbound_plugin_message, "minecraft:brand", "amethyst"}, client)
|
|
||||||
{:ok, Keyword.put(state, :brand, brand)}
|
{:ok, Keyword.put(state, :brand, brand)}
|
||||||
end
|
end
|
||||||
defp handle_plugin_message("amethyst:hello", _data, client, state) do
|
defp handle_plugin_message("amethyst:hello", _data, client, state) do
|
||||||
|
Loading…
Reference in New Issue
Block a user