mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Removed TNT explosion on break
This commit is contained in:
parent
452df5b2f8
commit
4867533ab7
@ -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();
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user