mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 17:59:41 +00:00
Block: remove unused function
This commit is contained in:
parent
1cd955c216
commit
1fcec87b98
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user