mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Modified Level and Chunk deprecated methods
This commit is contained in:
@ -34,7 +34,7 @@ abstract class ChunkEvent extends LevelEvent{
|
||||
* @param FullChunk $chunk
|
||||
*/
|
||||
public function __construct(FullChunk $chunk){
|
||||
parent::__construct($chunk->getLevel()->getLevel());
|
||||
parent::__construct($chunk->getProvider()->getLevel());
|
||||
$this->chunk = $chunk;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user