Update intllib code
This commit is contained in:
parent
54fa7b7f9b
commit
e584a2d53c
9
init.lua
9
init.lua
@ -2,9 +2,12 @@ local throwable_cake = false
|
|||||||
|
|
||||||
-- CAKE --
|
-- CAKE --
|
||||||
|
|
||||||
local intllib = minetest.get_modpath("intllib")
|
local S
|
||||||
local S = function(s) return s end
|
if minetest.get_modpath("intllib") then
|
||||||
if intllib then S = intllib.Getter() end
|
S = intllib.Getter()
|
||||||
|
else
|
||||||
|
S = function(s) return s end
|
||||||
|
end
|
||||||
|
|
||||||
local sizes = {-0.4375, -0.3125, -0.1875, -0.0625, 0.0625, 0.1875, 0.3125}
|
local sizes = {-0.4375, -0.3125, -0.1875, -0.0625, 0.0625, 0.1875, 0.3125}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user