0101: Variable is not a class instance
Last updated
Last updated
Compiler found a possible class method used with a variable, but the is unknown:
In order to correctly identify the command used here, the compiler should know what class the $player
variable represents.
Possible solutions:
Define the type of the variable explicitly using a keyword:
Define the type of the variable explicitly using the Player
class name:
Use a combination of the class name and class method: