mirror of
https://github.com/minetest-mods/unifiedbricks.git
synced 2024-11-19 22:13:51 +01:00
must specify palette for default clay and brick blocks
otherwise UD will complain and/or color them wrong on the first attempt
This commit is contained in:
parent
5b776c1b9c
commit
7d9a32b0ee
2
init.lua
2
init.lua
@ -113,6 +113,7 @@ minetest.register_node("unifiedbricks:brickblock", {
|
|||||||
|
|
||||||
minetest.override_item("default:brick", {
|
minetest.override_item("default:brick", {
|
||||||
ud_replacement_node = "unifiedbricks:brickblock",
|
ud_replacement_node = "unifiedbricks:brickblock",
|
||||||
|
palette = "unifieddyes_palette_extended.png",
|
||||||
groups = {cracky = 3, ud_param2_colorable = 1}
|
groups = {cracky = 3, ud_param2_colorable = 1}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -136,6 +137,7 @@ minetest.register_node("unifiedbricks:clayblock", {
|
|||||||
|
|
||||||
minetest.override_item("default:clay", {
|
minetest.override_item("default:clay", {
|
||||||
ud_replacement_node = "unifiedbricks:clayblock",
|
ud_replacement_node = "unifiedbricks:clayblock",
|
||||||
|
palette = "unifieddyes_palette_extended.png",
|
||||||
groups = {crumbly = 3, ud_param2_colorable = 1}
|
groups = {crumbly = 3, ud_param2_colorable = 1}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user