Fixed Explosion.php WeakRef issue

This commit is contained in:
PEMapModder 2014-06-18 11:42:41 +08:00
parent 85007a9dfe
commit 20e419a9c4

View File

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