diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-08-11 18:39:55 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-08-11 18:39:55 -0400 |
commit | 92f49e3096dc37b9b802994d287c47dc7f583c24 (patch) | |
tree | 9480515a27630d8009dffb87de93124966fb1015 /homedecor/office.lua | |
parent | f9cae7314e08fbeeef509c5c6ca095822fec1747 (diff) | |
download | dreambuilder_modpack-92f49e3096dc37b9b802994d287c47dc7f583c24.tar dreambuilder_modpack-92f49e3096dc37b9b802994d287c47dc7f583c24.tar.gz dreambuilder_modpack-92f49e3096dc37b9b802994d287c47dc7f583c24.tar.bz2 dreambuilder_modpack-92f49e3096dc37b9b802994d287c47dc7f583c24.tar.xz dreambuilder_modpack-92f49e3096dc37b9b802994d287c47dc7f583c24.zip |
updated boost_cart, plantlife, castle, homedecor, fake_fire,
glooptest, quartz, unified_inventory, inbox, mesecons, and
worldedit mods
Diffstat (limited to 'homedecor/office.lua')
-rw-r--r-- | homedecor/office.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/homedecor/office.lua b/homedecor/office.lua index 1da21dc..24fe30e 100644 --- a/homedecor/office.lua +++ b/homedecor/office.lua @@ -81,10 +81,11 @@ homedecor.register("calendar", { legacy_wallmounted = true, sounds = default.node_sound_defaults(), infotext = "Date (right-click to update):\n" .. os.date("%Y-%m-%d"), -- ISO 8601 format - on_rightclick = function(pos, node, clicker) + on_rightclick = function(pos, node, clicker, itemstack, pointed_thing) local meta = minetest.get_meta(pos) local date = os.date("%Y-%m-%d") meta:set_string("infotext", "Date (right-click to update):\n"..date) + return itemstack end }) |