LeinneSW / PureEntities

A plugin to implements entities in pmmp
GNU Lesser General Public License v3.0
87 stars 38 forks source link

php5 v2.4 crash #28

Closed XiangZhao969 closed 8 years ago

XiangZhao969 commented 8 years ago

Error: syntax error, unexpected ':', expecting ';' or '{' File: /EM.phar/src/milk/entitymanager/EntityManager Line: 187 Type: E_PARSE

THIS CRASH WAS CAUSED BY A PLUGIN

Code: [178] $baseKey = array_shift($vars); [179] if(!is_array($base) or !isset($base[$baseKey])){ [180] return $defaultValue; [181] } [182] $base = $base[$baseKey]; [183] } [184] return $base; [185] } [186] [187] public static function create($type, Position $source, ...$args) : Entity{ [188] $chunk = $source->getLevel()->getChunk($source->x >> 4, $source->z >> 4, true); [189] if(!$chunk->isGenerated()){ [190] $chunk->setGenerated(); [191] } [192] if(!$chunk->isPopulated()){ [193] $chunk->setPopulated(); [194] } [195] [196] $nbt = new CompoundTag("", [ [197] "Pos" => new ListTag("Pos", [

Backtrace:

0 (): pocketmine\Server->crashDump(boolean)

LeinneSW commented 8 years ago

php5 is not supported yet

XiangZhao969 commented 8 years ago

ok, so when will you update it?

LeinneSW commented 8 years ago

today