mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 13:09:44 +00:00
Fixed typo
This commit is contained in:
parent
ccc5e1b628
commit
169d122774
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ class SignPostBlock extends TransparentBlock{
|
||||||
|
|
||||||
public function onUpdate($type){
|
public function onUpdate($type){
|
||||||
if($type === BLOCK_UPDATE_NORMAL){
|
if($type === BLOCK_UPDATE_NORMAL){
|
||||||
if($this->getSide(0)->isSolid === false)){ //Replace wit common break method
|
if($this->getSide(0)->isSolid === false){ //Replace wit common break method
|
||||||
ServerAPI::request()->api->entity->drop($this, BlockAPI::getItem(SIGN, 0, 1));
|
ServerAPI::request()->api->entity->drop($this, BlockAPI::getItem(SIGN, 0, 1));
|
||||||
$this->level->setBlock($this, new AirBlock(), false);
|
$this->level->setBlock($this, new AirBlock(), false);
|
||||||
return BLOCK_UPDATE_NORMAL;
|
return BLOCK_UPDATE_NORMAL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue