1
0
mirror of https://github.com/Sokomine/cottages.git synced 2025-07-04 17:10:23 +02:00

took care of unregistered-globals-warnings

This commit is contained in:
Sokomine
2015-07-27 17:51:58 +02:00
parent 2d05ae5b7d
commit 9d5db547f0
11 changed files with 26 additions and 63 deletions

View File

@ -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", {