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