forked from minetest-mods/unifiedbricks
Corrige la restitution du dye quand le bloc multicolore est récolté
This commit is contained in:
parent
49ded63965
commit
c2eacb1b5e
3
init.lua
3
init.lua
@ -164,6 +164,7 @@ minetest.register_node("unifiedbricks:brickblock_multicolor_dark", {
|
|||||||
on_construct = unifieddyes.on_construct,
|
on_construct = unifieddyes.on_construct,
|
||||||
after_place_node = unifieddyes.recolor_on_place,
|
after_place_node = unifieddyes.recolor_on_place,
|
||||||
after_dig_node = unifieddyes.after_dig_node,
|
after_dig_node = unifieddyes.after_dig_node,
|
||||||
|
drop = "unifiedbricks:brickblock_multicolor_dark"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("unifiedbricks:brickblock_multicolor_medium", {
|
minetest.register_node("unifiedbricks:brickblock_multicolor_medium", {
|
||||||
@ -184,6 +185,7 @@ minetest.register_node("unifiedbricks:brickblock_multicolor_medium", {
|
|||||||
on_construct = unifieddyes.on_construct,
|
on_construct = unifieddyes.on_construct,
|
||||||
after_place_node = unifieddyes.recolor_on_place,
|
after_place_node = unifieddyes.recolor_on_place,
|
||||||
after_dig_node = unifieddyes.after_dig_node,
|
after_dig_node = unifieddyes.after_dig_node,
|
||||||
|
drop = "unifiedbricks:brickblock_multicolor_medium"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("unifiedbricks:brickblock_multicolor_light", {
|
minetest.register_node("unifiedbricks:brickblock_multicolor_light", {
|
||||||
@ -204,6 +206,7 @@ minetest.register_node("unifiedbricks:brickblock_multicolor_light", {
|
|||||||
on_construct = unifieddyes.on_construct,
|
on_construct = unifieddyes.on_construct,
|
||||||
after_place_node = unifieddyes.recolor_on_place,
|
after_place_node = unifieddyes.recolor_on_place,
|
||||||
after_dig_node = unifieddyes.after_dig_node,
|
after_dig_node = unifieddyes.after_dig_node,
|
||||||
|
drop ="unifiedbricks:brickblock_multicolor_light"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
|
Loading…
Reference in New Issue
Block a user