mirror of
https://codeberg.org/tenplus1/bonemeal.git
synced 2025-07-12 13:20:28 +02:00
code tidy
This commit is contained in:
4
init.lua
4
init.lua
@ -6,11 +6,9 @@ local min, max, random = math.min, math.max, math.random
|
||||
|
||||
|
||||
-- translation support
|
||||
local S
|
||||
local S = function(s) return s end -- default boilerplate function
|
||||
if minetest.get_translator ~= nil then
|
||||
S = minetest.get_translator("bonemeal") -- 5.x translation function
|
||||
else -- boilerplate function
|
||||
S = function(s) return s end
|
||||
end
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user