forked from nalc/homedecor_modpack
		
	Fix spears visuel bug issue nalc/nalc-server-mods#103
This commit is contained in:
		@@ -94,6 +94,10 @@ local update_item = function(pos, node)
 | 
			
		||||
			pos.z = pos.z + posad.z * 6.5 / 16
 | 
			
		||||
		elseif node.name == "itemframes:pedestal" then
 | 
			
		||||
			pos.y = pos.y + 12 / 16 + 0.33
 | 
			
		||||
			local n = meta:get_string("item")
 | 
			
		||||
			if string.match(n, "spears:spear_") then
 | 
			
		||||
				pos.y = pos.y + 0.2
 | 
			
		||||
			end
 | 
			
		||||
		end
 | 
			
		||||
		tmp.nodename = node.name
 | 
			
		||||
		tmp.texture = ItemStack(meta:get_string("item")):get_name()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user