1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-12-10 21:35:22 +01:00

fix devtest breaking right to a name policy

This commit is contained in:
unknown
2022-05-01 21:39:31 -04:00
parent fc84785ef4
commit d5301e1eca
2 changed files with 3 additions and 2 deletions

View File

@@ -330,7 +330,8 @@ homedecor.register("well", {
}
})
if minetest.get_modpath("bucket") then
--because the engine of all people cant follow right to a name, need to verify bucket empty
if minetest.get_modpath("bucket") and minetest.registered_items["bucket:bucket_empty"] then
local original_bucket_on_use = minetest.registered_items["bucket:bucket_empty"].on_use
minetest.override_item("bucket:bucket_empty", {
on_use = function(itemstack, user, pointed_thing)