summaryrefslogtreecommitdiff
path: root/nodes_anvil.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nodes_anvil.lua')
-rw-r--r--nodes_anvil.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/nodes_anvil.lua b/nodes_anvil.lua
index e6c89ce..b514273 100644
--- a/nodes_anvil.lua
+++ b/nodes_anvil.lua
@@ -7,13 +7,7 @@
-- License of the hammer picture: CC-by-SA; done by GloopMaster; source:
-- https://github.com/GloopMaster/glooptest/blob/master/glooptest/textures/glooptest_tool_steelhammer.png
--- Boilerplate to support localized strings if intllib mod is installed.
-local S
-if intllib then
- S = intllib.Getter()
-else
- S = function(s) return s end
-end
+local S = cottages.S
-- the hammer for the anvil
minetest.register_tool("cottages:hammer", {