forgot the index metamethod
This commit is contained in:
		@@ -113,4 +113,6 @@ function Vector3:__tostring()
 | 
				
			|||||||
  return "Vector3(" .. tostring(self.x) .. ", " .. tostring(self.y) .. ", " .. tostring(self.z) .. ")"
 | 
					  return "Vector3(" .. tostring(self.x) .. ", " .. tostring(self.y) .. ", " .. tostring(self.z) .. ")"
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Vector3.__index = Vector3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
return Vector3
 | 
					return Vector3
 | 
				
			||||||
		Reference in New Issue
	
	Block a user