mirror of
				https://github.com/mt-mods/homedecor_modpack.git
				synced 2025-10-31 11:35:27 +01:00 
			
		
		
		
	don't reference lrfurn chair colors in homedecor chair LBM
use a local copy instead
This commit is contained in:
		| @@ -162,7 +162,25 @@ minetest.register_alias('armchair', 'homedecor:armchair') | |||||||
|  |  | ||||||
| homedecor.old_static_chairs = {} | homedecor.old_static_chairs = {} | ||||||
|  |  | ||||||
| for _, color in ipairs(lrfurn.colors) do | local chair_colors = { | ||||||
|  | 	"black", | ||||||
|  | 	"brown", | ||||||
|  | 	"blue", | ||||||
|  | 	"cyan", | ||||||
|  | 	"dark_grey", | ||||||
|  | 	"dark_green", | ||||||
|  | 	"green", | ||||||
|  | 	"grey", | ||||||
|  | 	"magenta", | ||||||
|  | 	"orange", | ||||||
|  | 	"pink", | ||||||
|  | 	"red", | ||||||
|  | 	"violet", | ||||||
|  | 	"white", | ||||||
|  | 	"yellow", | ||||||
|  | } | ||||||
|  |  | ||||||
|  | for _, color in ipairs(chair_colors) do | ||||||
| 	table.insert(homedecor.old_static_chairs, "homedecor:chair_"..color) | 	table.insert(homedecor.old_static_chairs, "homedecor:chair_"..color) | ||||||
| 	table.insert(homedecor.old_static_chairs, "homedecor:armchair_"..color) | 	table.insert(homedecor.old_static_chairs, "homedecor:armchair_"..color) | ||||||
| end | end | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user