summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2024-09-14 16:45:00 -0500
committercheapie <no-email-for-you@example.com>2024-09-14 16:45:00 -0500
commit4d4d42079179a5659b172d0a6cd12aadfac00c3c (patch)
treea1942663bd27a3a800436582caf584cec18bc0ba /init.lua
parent704516730564c8d42a2c03da547cb976059a3e11 (diff)
downloadsolidcolor-4d4d42079179a5659b172d0a6cd12aadfac00c3c.tar
solidcolor-4d4d42079179a5659b172d0a6cd12aadfac00c3c.tar.gz
solidcolor-4d4d42079179a5659b172d0a6cd12aadfac00c3c.tar.bz2
solidcolor-4d4d42079179a5659b172d0a6cd12aadfac00c3c.tar.xz
solidcolor-4d4d42079179a5659b172d0a6cd12aadfac00c3c.zip
Add luacheck configurationHEADmaster
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index fa9e5f7..04315da 100644
--- a/init.lua
+++ b/init.lua
@@ -3,7 +3,7 @@ minetest.register_node("solidcolor:block", {
tiles = {"solidcolor_white.png"},
is_ground_content = false,
groups = {dig_immediate=2,ud_param2_colorable=1},
- sounds = (default and default.node_sound_stone_defaults()),
+ sounds = (minetest.global_exists("default") and default.node_sound_stone_defaults()),
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",
on_construct = unifieddyes.on_construct,