onebone / EconomyS

The economy plugin for PocketMine-MP
GNU General Public License v3.0
144 stars 188 forks source link

Claimed Land Crashes Server [0.12.1] #168

Closed McDrakon123 closed 9 years ago

McDrakon123 commented 9 years ago

When someone who is not added to a claimed land area and tries to break a block or place a block the server will crash.

Fatal error: Call to undefined method pocketmine\item\ItemBlock::isPlaceable() in phar:///home/tcagame/elitecra/728/plugins/EconomyLand_v2.0.8.phar/src/onebone/economyland/EconomyLand.php on line 613

PocketMine-MP Crash Dump Tue Sep 15 17:27:39 UTC 2015

Error: Call to undefined method pocketmine\item\IronSword::isPlaceable() File: /EconomyLand_v2.0.8.phar/src/onebone/economyland/EconomyLand Line: 613 Type: E_ERROR

THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: EconomyLand v2.0.8

Code: [604] $this->placeQueue[$player->getName()] = true; [605] } [606] return false; [607] } [608] } [609] }elseif($info !== true){ [610] $player->sendMessage($this->getMessage("no-permission", array($info["owner"], "", ""))); [611] $event->setCancelled(); [612] if($event instanceof PlayerInteractEvent){ [613] if($event->getItem()->isPlaceable()){ [614] $this->placeQueue[$player->getName()] = true; [615] } [616] } [617] return false; [618] } [619] return true; [620] } [621] [622] public function addLand($player, $startX, $startZ, $endX, $endZ, $level, $expires = null){ [623] if($level instanceof Level){

Backtrace:

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

PocketMine-MP version: 1.6dev #29 [Protocol 34; API 1.13.0] Git commit: 0000000000000000000000000000000000000000 uname -a: Linux Zulu.HostingItAll.com 3.10.23-xxxx-std-ipv6-64 #1 SMP Tue Mar 18 14:48:24 CET 2014 x86_64 PHP Version: 5.6.10 Zend version: 2.6.0 OS : Linux, linux

Loaded plugins: PureGIS 1.0.0 by 64FF00 for API(s) 1.12.0 PocketGuard 2.1.1 by MinecrafterJPN for API(s) 1.10.0 ManyWorlds 2.0.2 by aliuly for API(s) 1.10.0 Pundler 1.4.3 by MinecrafterJPN for API(s) 1.10.0 EconomyAPI 2.0.8 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 PurePerms 1.1.12 by 64FF00 for API(s) 1.13.0 DevTools 1.10.0 by PocketMine Team for API(s) 1.3.1 WorldEditArt 1.0.0_betadev#048 by PEMapModder for API(s) 1.0.0 EconomyLand 2.0.8 by onebone for API(s) 1.12.0 EconomyShop 2.0.6 by onebone for API(s) 1.12.0 MagicTelePortal 1.3.2 by aliuly for API(s) 1.10.0 EconomySell 2.0.6 by onebone for API(s) 1.12.0 EconomyProperty 2.0.5 by onebone for API(s) 1.12.0 EssentialsPE 1.1.2 by LegendsOfMCPE Team for API(s) 1.12.0 WorldProtect 2.2.0 by aliuly for API(s) 1.10.0, 1.12.0 PureChat 1.3.0 by 64FF00 for API(s) 1.11.0 SimpleAuth 1.7.1 by PocketMine Team, shoghicp for API(s) 1.12.0

----------------------REPORT THE DATA BELOW THIS LINE-----------------------

===BEGIN CRASH DUMP=== eNrNWolv20bW/1dmlQBrfxB1W3ZUuIDhON0s7EYbu8iiYWGMyKHEmlc5pGWlyP/+/d6b4SW7zdFg d91DnDczb959DPl7rwhj1VuMZ7PJdHoyOnrR76k8T/Pe4vdescsw1bu4vXj79s3bXr8XK63lmmDn MopEkYoy8VUQJsoXsSo2qS+y1LtTRQyQ64aFil33dZ4m19s09xeLUC8j6Sm5itTBIfAFYUTIhhde mqTx7lIm/u39ZDAanAyyjcyHOveGaaJW+G+ozJoIa9rrgSXCYb3FfDz92O9lUbkOEyK6s8RLfUUc zUczzLlF88/zYhNq5/uM6PpXqUr1/jmedyp3vl+r4kcZg9JfxKko8lJ9B0zz0VEHw0eGzTuwXBVl nohARtruOW7Nmx0nNcSMX9jxR4VNYXDwPEyCVPzt1Jx8+DstGo/qTTWRWiX+lVHLgeUFdFcQt5ek TqbyONQ6TBO31xcyz+XOoH/v9tJtonK390tfuD2apf8fHh4y1eNxc5y6V0lBpxXnMvFUFCn/wK6a 1KuIbF4owkQXtC4NxJIJfZ0UKpdecUHT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l9PQKAKLi/ROJcg6 eQ15p+Qd4oMRFH+DsZP8ymRsv3H9EGZmNBkc9T5+/H8sKeNE ===END CRASH DUMP===

onebone commented 9 years ago

This bug is already fixed in 'php7' branch.