forked from mtcontrib/homedecor_modpack
		
	fix crash on illegal text input
(ok it's probably the wrong way)
This commit is contained in:
		@@ -211,6 +211,7 @@ local fences_with_sign = { }
 | 
			
		||||
local function split_lines_and_words(text)
 | 
			
		||||
	local lines = { }
 | 
			
		||||
	local line = { }
 | 
			
		||||
	if not text then return end
 | 
			
		||||
	for word in text:gmatch("%S+") do
 | 
			
		||||
		if word == "|" then
 | 
			
		||||
			table.insert(lines, line)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user