Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
homedecor_modpack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
homedecor_modpack
Commits
d763840b
Commit
d763840b
authored
9 years ago
by
Tim
Browse files
Options
Downloads
Patches
Plain Diff
assign custom on_place to the right fence definition, which makes sign posts work again
parent
f384d73f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
signs_lib/init.lua
+1
-1
1 addition, 1 deletion
signs_lib/init.lua
with
1 addition
and
1 deletion
signs_lib/init.lua
+
1
−
1
View file @
d763840b
...
...
@@ -857,7 +857,7 @@ function signs_lib.register_fence_with_sign(fencename, fencewithsignname)
def_sign
=
signs_lib
.
table_copy
(
def_sign
)
fences_with_sign
[
fencename
]
=
fencewithsignname
def
.
on_place
=
function
(
itemstack
,
placer
,
pointed_thing
,
...
)
def
_sign
.
on_place
=
function
(
itemstack
,
placer
,
pointed_thing
,
...
)
local
node_above
=
minetest
.
get_node
(
pointed_thing
.
above
)
local
node_under
=
minetest
.
get_node
(
pointed_thing
.
under
)
local
def_above
=
minetest
.
registered_nodes
[
node_above
.
name
]
...
...
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