mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
More fixes :D
This commit is contained in:
parent
7236f4aad6
commit
c27cca6741
9 changed files with 56 additions and 44 deletions
|
|
@ -39,7 +39,7 @@ class GenericBlock extends Block{
|
|||
}
|
||||
|
||||
public function onBreak(Item $item, Player $player){
|
||||
return $this->level->setBlock($this, BlockAPI::getBlock(AIR, 0));
|
||||
return $this->level->setBlock($this, new AirBlock());
|
||||
}
|
||||
|
||||
public function onUpdate($type){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue