mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 01:16:15 +00:00
don't depend on phpstan 0.12.4 phpdoc inheriting
this causes build failure because the parameter names are different to the base class.
This commit is contained in:
@ -151,6 +151,12 @@ class Perlin extends Noise{
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
* @param float $x
|
||||
* @param float $y
|
||||
*
|
||||
* @return float
|
||||
*/
|
||||
public function getNoise2D($x, $y){
|
||||
return $this->getNoise3D($x, $y, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user