mirror of
https://cheapiesystems.com/git/digiscreen
synced 2024-12-04 12:43:43 +01:00
Add luacheck configuration and fix deprecated digilines API usage
This commit is contained in:
parent
8472cc3178
commit
32ce8664dd
8
.luacheckrc
Normal file
8
.luacheckrc
Normal file
@ -0,0 +1,8 @@
|
||||
max_line_length = 160
|
||||
|
||||
read_globals = {
|
||||
"minetest",
|
||||
"vector",
|
||||
"digilines",
|
||||
"screwdriver",
|
||||
}
|
2
init.lua
2
init.lua
@ -136,7 +136,7 @@ minetest.register_node("digiscreen:digiscreen",{
|
||||
end,
|
||||
digiline = {
|
||||
wire = {
|
||||
rules = digiline.rules.default,
|
||||
rules = digilines.rules.default,
|
||||
},
|
||||
effector = {
|
||||
action = function(pos,_,channel,msg)
|
||||
|
Loading…
Reference in New Issue
Block a user