Buffer fix

This commit is contained in:
Evert Prants 2018-06-18 20:49:14 +03:00
parent 3ac8b48759
commit 78d4a9ac7b
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
1 changed files with 1 additions and 1 deletions

View File

@ -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