Closed PoilZero closed 8 years ago
All the files in this directory have an error. PureEntities-master\src\milk\pureentities\entity\animal\ About '': Float''
the same error in PureEntities-master/src/milk/pureentities/entity/BaseEntity.php PureEntities-master\src\milk\pureentities\entity\monster\walking\CaveSpider.php PureEntities-master\src\milk\pureentities\entity\monster\WalkingMonster.php PureEntities-master\src\milk\pureentities\entity\animal\WalkingAnimal.php The error About '': Float'' or '': bool''
When I Correct these error. Running server that it showed ''ClassNotFoundException: "Class milk\pureentities\entity\float not found" (EXCEPTION) in "/src/spl/BaseClassLoader" at line 144''
I did my best, I really hope that I can help you @milk0417 #
Pls not spamm can you not create a pull request?
[Uploading Fix some.zip…]()
What does SPAMM mean.@erkam2002
-.-
please use php7 this isnt error
ImagicalMine Crash Dump Fri Mar 11 23:45:08 BNT 2016
Error: syntax error, unexpected ':', expecting ';' or '{' File: /PureEntities-master/src/milk/pureentities/entity/monster/FlyingMonster Line: 22 Type: E_PARSE
THIS CRASH WAS CAUSED BY A PLUGIN
Code: [13] abstract class FlyingMonster extends FlyingEntity implements Monster{ [14] [15] protected $attackDelay = 0; [16] [17] private $minDamage = [0, 0, 0, 0]; [18] private $maxDamage = [0, 0, 0, 0]; [19] [20] public abstract function attackEntity(Entity $player); [21] [22] public function getDamage(int $difficulty = null) : float{ [23] return mt_rand($this->getMinDamage($difficulty), $this->getMaxDamage($difficulty)); [24] } [25] [26] public function getMinDamage(int $difficulty = null) : float{ [27] if($difficulty === null || $difficulty > 3 || $difficulty < 0){ [28] $difficulty = Server::getInstance()->getDifficulty(); [29] } [30] return $this->minDamage[$difficulty]; [31] } [32]
Backtrace:
0 /src/pocketmine/Server(0): pocketmine\Server->crashDump(boolean)
1 /src/spl/BaseClassLoader(26): BaseClassLoader->loadClass(boolean)
2 /src/spl/BaseClassLoader(26): spl_autoload_call(boolean)
3 /src/spl/BaseClassLoader(128): (boolean)
4 /src/pocketmine/entity/Entity(536): BaseClassLoader->loadClass(boolean)
5 /src/pocketmine/entity/Entity(536): spl_autoload_call(boolean)
6 /src/pocketmine/entity/Entity(536): ReflectionClass->__construct(boolean)
7 /PureEntities-master/src/milk/pureentities/PureEntities(79): pocketmine\entity\Entity::registerEntity(boolean)
8 /devtools插件.phar/src/FolderPluginLoader/FolderPluginLoader(73): milk\pureentities\PureEntities->onLoad(boolean)
9 /devtools插件.phar/src/FolderPluginLoader/FolderPluginLoader(42): FolderPluginLoader\FolderPluginLoader->initPlugin(boolean)
10 /src/pocketmine/plugin/PluginManager(157): FolderPluginLoader\FolderPluginLoader->loadPlugin(boolean)
11 /src/pocketmine/plugin/PluginManager(301): pocketmine\plugin\PluginManager->loadPlugin(boolean)
12 /devtools插件.phar/src/DevTools/DevTools(32): pocketmine\plugin\PluginManager->loadPlugins(boolean)
13 /src/pocketmine/plugin/PluginBase(91): DevTools\DevTools->onEnable(boolean)
14 /src/pocketmine/plugin/PharPluginLoader(128): pocketmine\plugin\PluginBase->setEnabled(boolean)
15 /src/pocketmine/plugin/PluginManager(567): pocketmine\plugin\PharPluginLoader->enablePlugin(boolean)
16 /src/pocketmine/Server(2012): pocketmine\plugin\PluginManager->enablePlugin(boolean)
17 /src/pocketmine/Server(1998): pocketmine\Server->enablePlugin(boolean)
18 /src/pocketmine/Server(1754): pocketmine\Server->enablePlugins(boolean)
19 /src/pocketmine/PocketMine(473): pocketmine\Server->__construct(boolean)
20 (1): (boolean)
21 (0): {main}(boolean)
ImagicalMine version: 1.0dev #0 [Protocol 38; API 1.14.0] Git commit: 0000000000000000000000000000000000000000 uname -a: Windows NT QH-20160128WYZA 6.2 build 9200 (Windows 8 Business Edition) i586 PHP Version: 5.6.4 Zend version: 2.6.0 OS : WINNT, win
Loaded plugins: DevTools 1.8.0_bingshen浼樺寲 by PocketMine Team, shoghicp for API(s) 1.0.0 IColor_Chat 1.4.0 by ibook for API(s) 1.0.0 EconomyAPI 2.0.4 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 IMarry 1.0.0 by for API(s) 1.0.0 IVip 1.0.0 by ibook for API(s) 1.0.0
----------------------REPORT THE DATA BELOW THIS LINE-----------------------
===BEGIN CRASH DUMP=== eNoDAAAAAAE= ===END CRASH DUMP===