This commit is contained in:
parent
c2cbfdf888
commit
aa91e82cfa
@ -220,7 +220,6 @@ defmodule Amethyst.ConnectionHandler do
|
|||||||
block_light_array = non_empty_block_light_sections |> Enum.map(&(Enum.reduce(&1, <<>>, fn light, acc ->
|
block_light_array = non_empty_block_light_sections |> Enum.map(&(Enum.reduce(&1, <<>>, fn light, acc ->
|
||||||
<<acc::bitstring, light::size(4)>>
|
<<acc::bitstring, light::size(4)>>
|
||||||
end)))
|
end)))
|
||||||
Logger.debug("#{length(block_light_array)} block light sections to send")
|
|
||||||
|
|
||||||
send(to, {:send_packet, %{
|
send(to, {:send_packet, %{
|
||||||
packet_type: :chunk_data_and_update_light,
|
packet_type: :chunk_data_and_update_light,
|
||||||
|
Loading…
Reference in New Issue
Block a user