Closed GODLIKE5 closed 9 years ago
Check 'php7' branch.
But.... Its not running php7
@GODLIKE5 use https://github.com/onebone/EconomyS/tree/php7
@GODLIKE5 Just naming miss. It is just developing branch for PM 1.6.
How can i get it for 1.6? Link plz
@GODLIKE5 See what @Pub4Game said.
PocketMine-MP Crash Dump Fri Oct 2 23:00:46 UTC 2015
Error: Call to undefined method pocketmine\item\ItemBlock::isPlaceable() File: /EconomyShop_v2.0.6.phar/src/onebone/economyshop/EconomyShop Line: 287 Type: E_ERROR
THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: EconomyShop v2.0.6
Code: [278] }else{ [279] unset($this->tap[$player->getName()]); [280] } [281] } [282] [283] $player->getInventory()->addItem(new Item($shop["item"], $shop["meta"], $shop["amount"])); [284] EconomyAPI::getInstance()->reduceMoney($player, $shop["price"], true, "EconomyShop"); [285] $player->sendMessage($this->getMessage("bought-item", [$shop["amount"], $shop["itemName"], $shop["price"]])); [286] $event->setCancelled(true); [287] if($event->getItem()->isPlaceable()){ [288] $this->placeQueue[$player->getName()] = true; [289] } [290] } [291] } [292] } [293] [294] public function onBreakEvent(BlockBreakEvent $event){ [295] $block = $event->getBlock(); [296] if(isset($this->shop[$block->getX().":".$block->getY().":".$block->getZ().":".$block->getLevel()->getFolderName()])){ [297] $player = $event->getPlayer();
Backtrace:
0 (): pocketmine\Server->crashDump(boolean)
PocketMine-MP version: 1.6dev #43 [Protocol 34; API 1.13.0]