From: ANAND Date: Fri, 3 May 2019 12:44:05 +0000 (+0530) Subject: minimal: Fix crash due to assertion fail X-Git-Tag: 5.1.0~226 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=96f250ed8f5b019904bb67c427fe5c1babf0f4df;p=oweals%2Fminetest.git minimal: Fix crash due to assertion fail --- diff --git a/games/minimal/mods/test/init.lua b/games/minimal/mods/test/init.lua index 4806ba4fc..2692cf425 100644 --- a/games/minimal/mods/test/init.lua +++ b/games/minimal/mods/test/init.lua @@ -19,7 +19,7 @@ local function run_hpchangereason_tests(player) assert(expect == nil) expect = { a = 234, type = "set_hp", from = "mod" } - player:set_hp(10, { a= 234 }) + player:set_hp(7, { a= 234 }) assert(expect == nil) expect = { df = 3458973454, type = "fall", from = "mod" }