mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-01-11 18:40:28 +01:00
parent
7f87f1658e
commit
2f2f5a7def
@ -118,7 +118,7 @@ end
|
|||||||
-- by ChillCode, available under the MIT license.
|
-- by ChillCode, available under the MIT license.
|
||||||
local function deserialize_workaround(content)
|
local function deserialize_workaround(content)
|
||||||
local nodes
|
local nodes
|
||||||
if not jit then
|
if not minetest.global_exists("jit") then
|
||||||
nodes = minetest.deserialize(content, true)
|
nodes = minetest.deserialize(content, true)
|
||||||
else
|
else
|
||||||
-- XXX: This is a filthy hack that works surprisingly well
|
-- XXX: This is a filthy hack that works surprisingly well
|
||||||
|
Loading…
Reference in New Issue
Block a user