mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 13:09:44 +00:00
Removed TNT explosion on break
This commit is contained in:
parent
452df5b2f8
commit
4867533ab7
1 changed files with 0 additions and 7 deletions
|
|
@ -29,11 +29,4 @@ class TNTBlock extends SolidBlock{
|
||||||
public function __construct(){
|
public function __construct(){
|
||||||
parent::__construct(TNT, 0, "TNT");
|
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…
Add table
Add a link
Reference in a new issue