xpyctum submitted a new plugin: AntiTower - Now, the tower will be blocked automatically! Read more about this plugin...
Does the blocks just poof.. or can you make it to drop into blocks so the player doesn't lose his or her blocks.
xpyctum updated AntiTower with a new update entry: Fixed bug with config Read the rest of this update entry...
Crash Error: Call to a member function get() on null File: /AntiTower_v1.phar/src/AntiTower/PlaceBlockListener Line: 38 Type: E_ERROR THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: AntiTower v1 Code: [29] $user = $e->getPlayer()->getDisplayName(); [30] $x = $e->getBlock()->getX(); $y = $e->getBlock()->getY(); $z = $e->getBlock()->getZ(); [31] if(!isset($this->places[$user])){ [32] /** @array Vector3 */ [33] $this->places[$user] = array("uses" => 1, "id" => $id, "Loc" => new Vector3($x,$y,$z)); [34] }else{ [35] if($e->getPlayer()->hasPermission("antitower.admin")){ [36] [37] }else { [38] $max = $this->plugin->getConfig()->get("max-blocks"); [39] $lastid = $this->places[$user]["id"]; [40] $uses = $this->places[$user]["uses"]; [41] $lastY = $this->places[$user]["Loc"]->getY(); [42] if ($lastY == $y - 1) { [43] if ($id == $lastid) { [44] if ($uses == $max) { [45] $e->getPlayer()->sendMessage(TextFormat::RED."[AntiTower] You can't build towers!"); [46] $e->getPlayer()->sendMessage(TextFormat::RED."[AntiTower] Removing..."); [47] $level = $e->getBlock()->getLevel(); [48] for ($i = 1; $i <= $max; $i++) { Backtrace: #0 (): pocketmine\Server->crashDump() PocketMine-MP version: 1.5dev #1254 [Protocol 27; API 1.12.0] Git commit: 0000000000000000000000000000000000000000 uname -a: Linux mpe 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 PHP Version: 5.6.4 Zend version: 2.6.0 OS : Linux, linux