Convert Populator into an interface

This commit is contained in:
Dylan K. Taylor
2021-08-27 20:41:54 +01:00
parent c7f78bec15
commit 938e430b0f
5 changed files with 7 additions and 6 deletions

View File

@ -32,7 +32,7 @@ use pocketmine\world\ChunkManager;
use function count;
use function min;
class GroundCover extends Populator{
class GroundCover implements Populator{
public function populate(ChunkManager $world, int $chunkX, int $chunkZ, Random $random) : void{
$chunk = $world->getChunk($chunkX, $chunkZ);