From 78d4a9ac7b2b46b18550ee4ebce8f1e78d7761d1 Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Mon, 18 Jun 2018 20:49:14 +0300 Subject: [PATCH] Buffer fix --- elepower_fapi/buffer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elepower_fapi/buffer.lua b/elepower_fapi/buffer.lua index e9d0423..3e08f47 100644 --- a/elepower_fapi/buffer.lua +++ b/elepower_fapi/buffer.lua @@ -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