From d71e438a3d4d6d0242dbf785e6d8dff08dacc410 Mon Sep 17 00:00:00 2001 From: codexp Date: Fri, 23 Mar 2018 23:45:06 +0100 Subject: [PATCH] disable worldedit_brush mod instead of throwing error --- worldedit_brush/init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/worldedit_brush/init.lua b/worldedit_brush/init.lua index b73a402..e3d3ff3 100644 --- a/worldedit_brush/init.lua +++ b/worldedit_brush/init.lua @@ -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