Closed MoNTE48 closed 1 month ago
I noticed that in other mods too. Seems to be related to a change in the minetest-game TNT mod. Can you tell me what exactly you did - i.e. what kind of weapon this was?
I fixed it like this in MT game:
diff --git a/mods/tnt/init.lua b/mods/tnt/init.lua
index 622b6c9..ab438a5 100644
--- a/mods/tnt/init.lua
+++ b/mods/tnt/init.lua
@@ -159,6 +159,7 @@ local function entity_physics(pos, radius, drops)
local objs = minetest.get_objects_inside_radius(pos, radius)
for _, obj in pairs(objs) do
local obj_pos = obj:get_pos()
+ if obj_pos then
local dist = math.max(1, vector.distance(pos, obj_pos))
local damage = (4 / dist) * radius
@@ -200,6 +201,7 @@ local function entity_physics(pos, radius, drops)
end
end
end
+ end
end
end
Unfortunately, it's just raw logs from one of the servers. I have no idea what the player was doing at the time of the crash.
I think it's a recent engine change, but haven't had time to take a look.
This is now fixed in MT game. (https://github.com/minetest/minetest_game/pull/3121)
I'm closing this one here, since this is a not problem with this mod - and would not know how to fix it here.