mirror of
https://gitlab.icynet.eu/evert/fluid_lib.git
synced 2024-12-18 03:05:45 +01:00
Fix drainable parameter
This commit is contained in:
parent
cd18516372
commit
0cd0e138ea
@ -28,7 +28,11 @@ function fluid_lib.get_buffer_data(pos, buffer)
|
||||
local amount = meta:get_int(buffer .. "_fluid_storage")
|
||||
local capacity = buffers[buffer].capacity
|
||||
local accepts = buffers[buffer].accepts
|
||||
local drainable = buffers[buffer].drainable or true
|
||||
local drainable = buffers[buffer].drainable
|
||||
|
||||
if drainable == nil then
|
||||
drainable = true
|
||||
end
|
||||
|
||||
return {
|
||||
fluid = fluid,
|
||||
|
Loading…
Reference in New Issue
Block a user