mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
fix buckets getting lost if hotbar is full to the left of the bucket
This commit is contained in:
parent
87c334a9e5
commit
6bf41d0159
@ -336,7 +336,6 @@ if minetest.get_modpath("bucket") then
|
||||
if pointed_thing.type == "node" and minetest.get_node(pointed_thing.under).name == "homedecor:well" then
|
||||
if inv:room_for_item("main", "bucket:bucket_water 1") then
|
||||
itemstack:take_item()
|
||||
user:set_wielded_item(itemstack)
|
||||
inv:add_item("main", "bucket:bucket_water 1")
|
||||
else
|
||||
minetest.chat_send_player(user:get_player_name(), "No room in your inventory to add a filled bucket!")
|
||||
|
Loading…
Reference in New Issue
Block a user