LeinneSW / PureEntities

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

crash on IM #21

Closed nooneusethisname closed 8 years ago

nooneusethisname commented 8 years ago

ImagicalMine Crash Dump Wed Feb 10 22:52:37 ICT 2016

Error: syntax error, unexpected ':', expecting ';' or '{' File: /EntityManager.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)

ImagicalMine version: 1.0dev #0 [Protocol 38; API 1.14.0] Git commit: 0000000000000000000000000000000000000000 uname -a: Linux static.ftech.vn 2.6.32-573.12.1.el6.x86_64 #1 SMP Tue Dec 15 21:19:08 UTC 2015 x86_64 PHP Version: 5.6.2 Zend version: 2.6.0

LeinneSW commented 8 years ago

Please read README.md PHP5 is not supported

XiangZhao969 commented 8 years ago

Oh sorry, because i just seen the commit support for IM

XiangZhao969 commented 8 years ago

*just about to post this issue lol