aboutsummaryrefslogtreecommitdiff
path: root/ontime_clocks/common.lua
diff options
context:
space:
mode:
authorPierre-Yves Rollo <dev@pyrollo.com>2018-02-13 21:12:04 +0100
committerGitHub <noreply@github.com>2018-02-13 21:12:04 +0100
commit9c877a0244a5b50d1092b8a0b50e979468c6fb50 (patch)
tree3542b64df78d8f8a8cb1365d08469fd843c0ed37 /ontime_clocks/common.lua
parent2acccd72610d240c115c17a63fe1d0b8a068406a (diff)
parentf3970f641eb60bf92492b6715084273cc1bceb74 (diff)
downloaddisplay_modpack-9c877a0244a5b50d1092b8a0b50e979468c6fb50.tar.gz
display_modpack-9c877a0244a5b50d1092b8a0b50e979468c6fb50.tar.bz2
display_modpack-9c877a0244a5b50d1092b8a0b50e979468c6fb50.zip
Merge pull request #12 from Thomas--S/api
Seperate signs API from signs definitions
Diffstat (limited to 'ontime_clocks/common.lua')
-rw-r--r--ontime_clocks/common.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/ontime_clocks/common.lua b/ontime_clocks/common.lua
index 39462d3..cced299 100644
--- a/ontime_clocks/common.lua
+++ b/ontime_clocks/common.lua
@@ -19,7 +19,7 @@
--]]
-- Entity for time display
-display_lib.register_display_entity("ontime_clocks:display")
+display_api.register_display_entity("ontime_clocks:display")
function ontime_clocks.get_h24()
return math.floor(minetest.get_timeofday()*24)%24