mirror of
				https://github.com/mt-mods/homedecor_modpack.git
				synced 2025-10-31 00:55:34 +01:00 
			
		
		
		
	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