From 9be9665daa81d47bc766ef41bcd669fa785e843c Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sun, 29 Dec 2024 23:15:34 +0300 Subject: [PATCH] fix base_entities test --- dev/tests/base_entities.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/tests/base_entities.lua b/dev/tests/base_entities.lua index ccabe859..7b0e2e77 100644 --- a/dev/tests/base_entities.lua +++ b/dev/tests/base_entities.lua @@ -18,7 +18,7 @@ block.place(0, 2, 0, block.index("base:sand"), 0, pid) app.tick() -- Check if the block is falling -assert(block.get(0, 100, 0) == 0) +assert(block.get(0, 2, 0) == 0) -- Wait for the block to fall app.sleep_until(function () return block.get(0, 1, 0) == block.index("base:sand") end, 100)