Block: remove unused function

This commit is contained in:
Dylan K. Taylor 2019-08-03 17:13:02 +01:00
parent 1cd955c216
commit 1fcec87b98

View File

@ -734,16 +734,4 @@ class Block extends Position{
return $currentHit;
}
/**
* @param self $self
*
* @return static
*/
public static function cast(self $self){
if(!($self instanceof static)){
throw new \TypeError("Cannot cast from " . self::class . " to " . static::class);
}
return $self;
}
}