Skip to content

Commit

Permalink
Merge branch 'master' into mcl-tech-worldgen
Browse files Browse the repository at this point in the history
  • Loading branch information
nonfreegithub committed Sep 16, 2023
2 parents 6ee01e6 + 1cd5e5d commit 55bcece
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/luacheck.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
on: [push, pull_request]
name: luacheck
on: [push, pull_request]
jobs:
lint:
luacheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: lint
uses: Roang-zero1/factorio-mod-luacheck@master
with:
luacheckrc_url: ""
- name: Checkout
uses: actions/checkout@master
- name: Luacheck
uses: lunarmodules/luacheck@master
4 changes: 2 additions & 2 deletions technic/tools/sonic_screwdriver.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ local function screwdriver_handler(itemstack, user, pointed_thing, mode)

local node = minetest.get_node(pos)
local ndef = minetest.registered_nodes[node.name]
if not ndef or not ndef.paramtype2 == "facedir" or
if not ndef or ndef.paramtype2 ~= "facedir" or
(ndef.drawtype == "nodebox" and
not ndef.node_box.type == "fixed") or
ndef.node_box.type ~= "fixed") or
node.param2 == nil then
return
end
Expand Down

0 comments on commit 55bcece

Please sign in to comment.