mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 18:59:00 +00:00
Merge pull request #1508 from LegendOfMCPE/master
Fixed Explosion.php WeakRef issue
This commit is contained in:
commit
83081456f2
@ -50,7 +50,7 @@ class Explosion{
|
||||
private $what;
|
||||
|
||||
public function __construct(Position $center, $size, $what = null){
|
||||
$this->level = $center->level;
|
||||
$this->level = $center->getLevel();
|
||||
$this->source = $center;
|
||||
$this->size = max($size, 0);
|
||||
$this->what = $what;
|
||||
|
Loading…
x
Reference in New Issue
Block a user