0
0
Fork 0

Close minor issues with fishing rod timing and permanent_flame alias, Wuzzy/MineClone2#834 & Wuzzy/MineClone2#836

This commit is contained in:
kay27 2020-09-20 03:38:31 +04:00
parent 7678bf9b9f
commit 15cb94b9b3
2 changed files with 2 additions and 2 deletions

View File

@ -493,7 +493,7 @@ minetest.register_lbm({
minetest.register_alias("mcl_fire:basic_flame", "mcl_fire:fire") minetest.register_alias("mcl_fire:basic_flame", "mcl_fire:fire")
minetest.register_alias("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()).."/flint_and_steel.lua")
dofile(minetest.get_modpath(minetest.get_current_modname()).."/fire_charge.lua") dofile(minetest.get_modpath(minetest.get_current_modname()).."/fire_charge.lua")

View File

@ -238,7 +238,7 @@ local bobber_on_step = function(self, dtime)
end end
else if self._waittick == nil then else if self._waittick == nil then
-- wait for random number of ticks. -- wait for random number of ticks.
self._waittick = math.random(50,800) self._waittick = math.random(50,333)
else else
if self._tick ~= self._waittick then if self._tick ~= self._waittick then
self._tick = self._tick + 1 self._tick = self._tick + 1