fix some luacheck warnings

This commit is contained in:
AFCMS 2021-06-12 00:28:07 +02:00
parent e81da3c4ff
commit e11dc4b58e
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ local function bone_meal_particle(pos)
maxvel = { x = 0, y = 0, z = 0},
minacc = { x = 0, y = 0, z = 0},
maxacc = { x = 0, y = 0, z = 0},
minexptime = 1,
minexptime = 1,
maxexptime = 4,
minsize = 0.7,
maxsize = 2.4,

View File

@ -155,7 +155,7 @@ if minetest.get_modpath("mcl_armor") then
pumpkin_face_base_def.on_secondary_use = mcl_armor.equip_on_use
pumpkin_face_base_def._on_equip = add_pumpkin_hud
pumpkin_face_base_def._on_unequip = remove_pumpkin_hud
minetest.register_on_joinplayer(function(player)
if player:get_inventory():get_stack("armor", 2):get_name() == "mcl_farming:pumpkin_face" then
add_pumpkin_hud(player)