From 3f377ac386770864ef75bd36fbd1d274c8028c69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D0=B5=D1=80=D1=85=D0=B0=D1=80=D0=B4=20PICCORO=20Len?= =?UTF-8?q?z=20McKAY?= Date: Tue, 26 Jul 2022 16:30:03 -0400 Subject: [PATCH] v 20220728 - update boats mod, fix missing global minetest object access * property detect the feature using the namespace global var --- mods/boats/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/boats/init.lua b/mods/boats/init.lua index 5bfcb55..ca66d60 100644 --- a/mods/boats/init.lua +++ b/mods/boats/init.lua @@ -25,7 +25,7 @@ else end end -- check for minetest 5.x compatibility -is_50 = has_feature("httpfetch_binary_data") +is_50 = minetest.has_feature("httpfetch_binary_data") is_53 = minetest.has_feature("direct_velocity_on_players") or minetest.has_feature("is_creative_enabled") or false --