mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Bonemeal fix. (Sugarcane)
Пофиксил баг с бесконечной фармом тростника через костную муку.
This commit is contained in:
parent
1a585d0ea8
commit
2b1d641084
1 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ class SugarcaneBlock extends FlowableBlock{
|
|||
$this->level->setBlock($this, $this, true, false, true);
|
||||
}
|
||||
if(($player->gamemode & 0x01) === 0){
|
||||
$item->count--;
|
||||
$player->removeItem(DYE,0x0F,1);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
@ -100,4 +100,4 @@ class SugarcaneBlock extends FlowableBlock{
|
|||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue