From b69f3c6e618fd23596422ab46ca8cca0e388ead9 Mon Sep 17 00:00:00 2001
From: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
Date: Mon, 11 Jan 2021 07:14:37 +0100
Subject: [PATCH] add no-op if no sound could be found

---
 init.lua | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/init.lua b/init.lua
index 74704a8..c8ee7cc 100644
--- a/init.lua
+++ b/init.lua
@@ -19,6 +19,8 @@ elseif default_path then
 	moditems.paper = "default:paper"
 	moditems.glass = "default:glass"
 	moditems.dye = "dye:"
+else
+	moditems.sound_glass = function() end
 end
 
 mapserver = {
-- 
GitLab