Removed TNT explosion on break

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-13 13:47:37 +02:00
parent 452df5b2f8
commit 4867533ab7

View File

@ -29,11 +29,4 @@ class TNTBlock extends SolidBlock{
public function __construct(){
parent::__construct(TNT, 0, "TNT");
}
public function getDrops(Item $item, Player $player){
if($this->inWorld === true){
$ex = new Explosion(ServerAPI::request()->api->block, $this, 0.5);
$ex->explode();
}
return array();
}
}