From 9c425816fd1ce116ebd5c03b1bb765537e84c529 Mon Sep 17 00:00:00 2001 From: teknomunk Date: Sun, 22 Sep 2024 08:36:42 -0500 Subject: [PATCH] Make sure a projectile sets on fire the thing it collided with --- mods/ITEMS/vl_projectile/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/vl_projectile/init.lua b/mods/ITEMS/vl_projectile/init.lua index 189d6af65..786fab7ba 100644 --- a/mods/ITEMS/vl_projectile/init.lua +++ b/mods/ITEMS/vl_projectile/init.lua @@ -284,7 +284,7 @@ local function handle_entity_collision(self, entity_def, projectile_def, object) -- Light things on fire if mcl_burning.is_burning(self.object) then - mcl_burning.set_on_fire(self.object, 5) + mcl_burning.set_on_fire(object, 5) end end