Modified Level and Chunk deprecated methods

This commit is contained in:
Shoghi Cervantes
2014-08-06 16:22:28 +02:00
parent 232bf5ebe4
commit 269a10fadd
4 changed files with 18 additions and 13 deletions

View File

@ -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;
}