fixed -- issue reported by LissoBone
This commit is contained in:
parent
8a7b0b633c
commit
71429e358b
@ -70,12 +70,12 @@ function steampunk_blimp.load_water(self, player)
|
||||
if water then
|
||||
if self._water_level < steampunk_blimp.MAX_WATER then
|
||||
local itemstack = ItemStack(item_name .. " 1")
|
||||
inv:remove_item("main", itemstack)
|
||||
--inv:remove_item("main", itemstack)
|
||||
|
||||
local indx = item_name:find('bucket:bucket')
|
||||
if indx then
|
||||
itemstack = ItemStack("bucket:bucket_empty")
|
||||
inv:add_item("main", itemstack)
|
||||
--inv:add_item("main", itemstack)
|
||||
player:set_wielded_item(itemstack)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user