mirror of
https://github.com/mt-mods/home_workshop_modpack.git
synced 2024-12-23 09:20:35 +01:00
small fixes
This commit is contained in:
parent
daf04bd400
commit
2e2d904261
@ -1,4 +1,5 @@
|
||||
home_vending_machines.register_currency("default:gold_ingot", 1)
|
||||
home_vending_machines.register_currency("currency:minegeld_cent_25", 1)
|
||||
|
||||
home_vending_machines.register_machine("simple", "home_workshop_misc:soda_machine", {
|
||||
description = "Soda vending machine",
|
||||
|
@ -79,7 +79,7 @@ minetest.register_node("home_workshop_misc:beer_mug", {
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
selection_box = beer_cbox,
|
||||
on_use = function(itemstack, user, pointed_thing)
|
||||
if not minetest.is_creative_enabled_for(user:get_player_name()) then
|
||||
if not minetest.is_creative_enabled(user:get_player_name()) then
|
||||
minetest.do_item_eat(2, "vessels:drinking_glass 1", itemstack, user, pointed_thing)
|
||||
return itemstack
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user