From 15cb94b9b33d1713ee60b970c6e70a5ddda3fd2b Mon Sep 17 00:00:00 2001 From: kay27 Date: Sun, 20 Sep 2020 03:38:31 +0400 Subject: [PATCH] Close minor issues with fishing rod timing and permanent_flame alias, https://git.minetest.land/Wuzzy/MineClone2/issues/834 & https://git.minetest.land/Wuzzy/MineClone2/issues/836 --- mods/ITEMS/mcl_fire/init.lua | 2 +- mods/ITEMS/mcl_fishing/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_fire/init.lua b/mods/ITEMS/mcl_fire/init.lua index 7d27eff92..e6fcd4f21 100644 --- a/mods/ITEMS/mcl_fire/init.lua +++ b/mods/ITEMS/mcl_fire/init.lua @@ -493,7 +493,7 @@ minetest.register_lbm({ minetest.register_alias("mcl_fire:basic_flame", "mcl_fire:fire") minetest.register_alias("fire:basic_flame", "mcl_fire:fire") -minetest.register_alias("fire:permanent_flame", "mcl_fire:eternal_flame") +minetest.register_alias("fire:permanent_flame", "mcl_fire:eternal_fire") dofile(minetest.get_modpath(minetest.get_current_modname()).."/flint_and_steel.lua") dofile(minetest.get_modpath(minetest.get_current_modname()).."/fire_charge.lua") diff --git a/mods/ITEMS/mcl_fishing/init.lua b/mods/ITEMS/mcl_fishing/init.lua index 1cab8b3ac..d019289d0 100644 --- a/mods/ITEMS/mcl_fishing/init.lua +++ b/mods/ITEMS/mcl_fishing/init.lua @@ -238,7 +238,7 @@ local bobber_on_step = function(self, dtime) end else if self._waittick == nil then -- wait for random number of ticks. - self._waittick = math.random(50,800) + self._waittick = math.random(50,333) else if self._tick ~= self._waittick then self._tick = self._tick + 1