aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods
diff options
context:
space:
mode:
authorANAND <ClobberXD@gmail.com>2019-05-03 18:14:05 +0530
committersfan5 <sfan5@live.de>2019-05-03 14:44:05 +0200
commit96f250ed8f5b019904bb67c427fe5c1babf0f4df (patch)
tree24ae2c1dc78572030733536b76a675efee80057a /games/minimal/mods
parente32a630937de69454c741e93979a7889fcddc7a9 (diff)
downloadminetest-96f250ed8f5b019904bb67c427fe5c1babf0f4df.tar.gz
minetest-96f250ed8f5b019904bb67c427fe5c1babf0f4df.tar.bz2
minetest-96f250ed8f5b019904bb67c427fe5c1babf0f4df.zip
minimal: Fix crash due to assertion fail
Diffstat (limited to 'games/minimal/mods')
-rw-r--r--games/minimal/mods/test/init.lua2
1 files changed, 1 insertions, 1 deletions
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" }