mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Added Sign placement
This commit is contained in:
parent
3e87d1927d
commit
4f0517a5a7
9 changed files with 188 additions and 58 deletions
|
|
@ -40,7 +40,7 @@ class GenericBlock extends Block{
|
|||
|
||||
public function onBreak(BlockAPI $level, Item $item, Player $player){
|
||||
if($this->inWorld === true){
|
||||
$level->setBlock($this, 0, 0);
|
||||
$level->setBlock($this, AIR, 0);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue