Skip to content

Commit

Permalink
unrelated luacheck fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SwissalpS authored Feb 26, 2024
1 parent 7602e72 commit 44221fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doors_chest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function register_door(name, def)
inventory_image = def.inventory_image,

on_place = function(itemstack, placer, pointed_thing)
if not pointed_thing.type == "node" then
if pointed_thing.type ~= "node" then
return itemstack
end

Expand Down Expand Up @@ -128,7 +128,7 @@ function register_door(name, def)
end

pos.y = pos.y + dir
if not minetest.get_node(pos).name == check_name then
if minetest.get_node(pos).name ~= check_name then
return false
end
if minetest.is_protected(pos, user:get_player_name()) then
Expand Down

0 comments on commit 44221fa

Please sign in to comment.