Buffer fix

This commit is contained in:
Evert Prants 2018-06-18 20:49:14 +03:00
parent 3ac8b48759
commit 78d4a9ac7b
No known key found for this signature in database
GPG Key ID: 1688DA83D222D0B5

@ -30,7 +30,7 @@ function elefluid.get_buffer_data(pos, buffer)
local meta = minetest.get_meta(pos)
local fluid = meta:get_string(buffer .. "_fluid")
local amount = meta:get_string(buffer .. "_fluid_storage")
local amount = meta:get_int(buffer .. "_fluid_storage")
local capacity = buffers[buffer].capacity
local accepts = buffers[buffer].accepts