mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-09-27 15:10:17 +02:00
disable worldedit_brush mod instead of throwing error
This commit is contained in:
parent
3322ef90c4
commit
d71e438a3d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user