Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xdecor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
xdecor
Commits
4888c404
Commit
4888c404
authored
6 years ago
by
Jat15
Committed by
kilbith
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix condition for new typo of setting (#89)
* Fix condition for new typo of setting * Add moreblocks in depends
parent
a8000f99
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
depends.txt
+1
-0
1 addition, 0 deletions
depends.txt
handlers/registration.lua
+4
-2
4 additions, 2 deletions
handlers/registration.lua
with
5 additions
and
2 deletions
depends.txt
+
1
−
0
View file @
4888c404
...
...
@@ -5,3 +5,4 @@ stairs
xpanes
fire?
oresplus?
moreblocks?
\ No newline at end of file
This diff is collapsed.
Click to expand it.
handlers/registration.lua
+
4
−
2
View file @
4888c404
...
...
@@ -122,8 +122,10 @@ function xdecor.register(name, def)
minetest
.
register_node
(
"xdecor:"
..
name
,
def
)
if
minetest
.
settings
:
get_bool
(
"disable_xdecor_workbench"
)
and
(
minetest
.
get_modpath
(
"moreblocks"
)
or
minetest
.
get_modpath
(
"stairs"
))
then
local
workbench
=
minetest
.
settings
:
get_bool
(
"enable_xdecor_workbench"
)
if
workbench
==
false
and
(
minetest
.
get_modpath
(
"moreblocks"
)
or
minetest
.
get_modpath
(
"stairs"
))
then
if
xdecor
.
stairs_valid_def
(
def
)
then
xdecor_stairs_alternative
(
"xdecor:"
..
name
,
def
)
end
...
...
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