Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mapserver_mod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Minetest
mapserver_mod
Commits
84e9e7d8
Commit
84e9e7d8
authored
5 years ago
by
BuckarooBanzay
Browse files
Options
Downloads
Patches
Plain Diff
fix luacheck errors/warnings
parent
40280245
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.luacheckrc
+4
-2
4 additions, 2 deletions
.luacheckrc
init.lua
+2
-2
2 additions, 2 deletions
init.lua
poi.lua
+1
-1
1 addition, 1 deletion
poi.lua
with
7 additions
and
5 deletions
.luacheckrc
+
4
−
2
View file @
84e9e7d8
...
...
@@ -2,7 +2,8 @@ unused_args = false
allow_defined_top = true
globals = {
"mapserver"
"mapserver",
"moditems"
}
read_globals = {
...
...
@@ -20,5 +21,6 @@ read_globals = {
"minecart", locator = { fields = { "beacons" } },
-- optional mods
"xban", "monitoring"
"xban", "monitoring",
"mcl_core", "mcl_sounds"
}
This diff is collapsed.
Click to expand it.
init.lua
+
2
−
2
View file @
84e9e7d8
local
default_path
=
core
.
get_modpath
(
"default"
)
and
default
local
mineclone_path
=
core
.
get_modpath
(
"mcl_core"
)
and
mcl_core
local
default_path
=
minetest
.
get_modpath
(
"default"
)
and
default
local
mineclone_path
=
minetest
.
get_modpath
(
"mcl_core"
)
and
mcl_core
moditems
=
{}
...
...
This diff is collapsed.
Click to expand it.
poi.lua
+
1
−
1
View file @
84e9e7d8
...
...
@@ -65,7 +65,7 @@ local register_poi = function(color, dye)
})
if
mapserver
.
enable_crafting
and
(
minetest
.
get_modpath
(
"dye"
)
or
core
.
get_modpath
(
"mcl_core"
))
then
if
mapserver
.
enable_crafting
and
(
minetest
.
get_modpath
(
"dye"
)
or
minetest
.
get_modpath
(
"mcl_core"
))
then
minetest
.
register_craft
({
output
=
'mapserver:poi_'
..
color
,
recipe
=
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment