What editi this code to drop in ore if($e->getBlock()->getId() == 1 && mt_rand(0,$this->getConfig()->get("t1-chance")) == "1"){
PHP: public function ONBreakEvent(BlockBreakEvent $ev){if($ev->getBlock()->getID() == 14 || $ev->getBlock()->getID() == 15 ||$ev->getBlock()->getID() == 16 || $ev->getBlock()->getID() == 21 ||$ev->getBlock()->getID() == 56 || $ev->getBlock()->getID() == 129 ||$ev->getBlock()->getID() == 73 || $ev->getBlock()->getID() == 153 ){$ev->setDrops(array(Item::get(0)));}}
Genisys Crash Dump Sat Feb 13 19:12:25 CET 2016 Error: syntax error, unexpected '}' File: /TierLoot_v1.0.0/src/flsmers/fl/Main Line: 123 Type: E_PARSE THIS CRASH WAS CAUSED BY A PLUGIN 此次出错由插件引起 Code: [114] } [115] [116] if($ev->getBlock()->getID() == 14 || $ev->getBlock()->getID() == 15 || [117] [118] $ev->getBlock()->getID() == 16 || $ev->getBlock()->getID() == 21 || [119] $ev->getBlock()->getID() == 56 || $ev->getBlock()->getID() == 129 || [120] $ev->getBlock()->getID() == 73 || $ev->getBlock()->getID() == 153 ){ [121] $ev->setDrops(array(Item::get(0))) [122] [123] } [124] else{ [125] } [126] [127] [128] [129] [130] [131] [132] [133] Backtrace: #0 (): pocketmine\Server->crashDump(boolean) Genisys version: 1.0dev #0 [Protocol 38; API 1.13.1] uname -a: Linux node60 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 PHP version: 5.6.9 Zend version: 2.6.0 OS : Linux, linux Loaded plugins: 加载的插件: PurePerms 1.2.2 by 64FF00 for API(s) 1.12.0 NetherChests 1.1.1 by aliuly for API(s) 1.12.0 DevTools 1.10.0 by PocketMine Team for API(s) 1.3.1 Spiral 1.0.0 by GmWM for API(s) 1.12.0 SimpleAuth 1.6.0 by PocketMine Team, shoghicp for API(s) 1.8.0 essentialsTP 1.1.0 by for API(s) 1.12.0 EconomyAPI 2.0.9 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 PeacefulSpawn 2.4 by LDX for API(s) 1.3.1, 1.4.0 Lightning_Strike 2 by MichaelM04 for API(s) 1.0.0
1. That is Off-topic. 2. What is TierLoot doing here? Report the crash to author. 3. You are using Genisys. 4. Wrong section, should be 'Plugin Requests'. 5. Not everyone knows what is NoDropsOre, Please describe the plugin. 6. Where is that and what do you mean? 7. What do you mean?
This is PocketMine Forums, not PHP Forums. We are not here to help with syntax errors. Meanwhile, stack overflow may help you: http://stackoverflow.com/questions/18050071/php-parse-syntax-errors-and-how-to-solve-them
You know what? People like you shouldnt get help here anymore, I just saw you, wanting get payed with 20$ on Plugin Requests for creating a SurvivalGames plugin which is about 100 times on GitHub, while you cant even really code, you dont know much PHP or even the PocketMine API, hope you get banned until ypu realize that you are on the PocketMine Forums, a forum for developers not to people like you overrate themselves, dont even know how to analyze code by their eyes and simply find a missing ; in a little piece of a code, wanting 20$ I mean 20$ for one plugin. Damn hope you get banned!