mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-07-04 17:10:36 +02:00
disable worldedit_brush mod instead of throwing error
This commit is contained in:
@ -1,10 +1,14 @@
|
||||
if minetest.raycast == nil then
|
||||
print('[MOD] worldedit_brush is not compatible with your game, so it won\'t be loaded!')
|
||||
return
|
||||
--[[
|
||||
error(
|
||||
"================================\n"..
|
||||
"This mod requires a suitable version of 0.4.16-dev/0.5.0-dev\n"..
|
||||
"that includes support for minetest.raycast() [since 7th July 2017]\n"..
|
||||
"================================\n"
|
||||
)
|
||||
]]
|
||||
end
|
||||
|
||||
local BRUSH_MAX_DIST = 150
|
||||
|
Reference in New Issue
Block a user