OOP Inheritance


I’ve been trying to do classes via OOP with this tutorial

I tried to follow the inheritance tutorial and I ended up with a warning on my script analysis.
Cannot add property 'nearbyObject' to sealed table

Here is the line of code for reference:

function Subclass.new(objectInstance : Instance)
	local newSubclass = Object.new(objectInstance)
	setmetatable(newSubclass, Subclass)
	newSubclass.nearbyObject = nil
	return newSubclass

Should I worry about that warning or just ignore it?