From e0a253def263a12a86cd86959d02c0a563723701 Mon Sep 17 00:00:00 2001 From: Giov4 Date: Sat, 29 Oct 2022 23:59:19 +0200 Subject: [PATCH] bunch of less-powerful-problems fixed --- _classes/mage/skills/ice_spikes.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_classes/mage/skills/ice_spikes.lua b/_classes/mage/skills/ice_spikes.lua index 4796305..9a4993d 100644 --- a/_classes/mage/skills/ice_spikes.lua +++ b/_classes/mage/skills/ice_spikes.lua @@ -104,6 +104,8 @@ function ice_spikes:on_step(dtime) local player = minetest.get_player_by_name(self._pl_name) self._time_passed = self._time_passed + dtime self._tick_buffer = self._tick_buffer + dtime + local spike_base = vector.add(self.object:get_pos(), {x=0, y=-0.4, z=0}) + local is_in_place = not fbrawl.are_there_nodes_in_area(spike_base, 0.5) if not player then self.object:remove()