This commit is contained in:
Shoghi Cervantes
2013-06-08 12:51:28 +02:00
parent 883b18078f
commit 97dd718e4f
3 changed files with 3 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ class GrassBlock extends SolidBlock{
TallGrassObject::growGrass($this->level, $this, new Random());
return true;
}elseif($item->isHoe()){
if(($this->gamemode & 0x01) === 0){
if(($player->gamemode & 0x01) === 0){
$item->useOn($this);
}
$this->level->setBlock($this, new FarmlandBlock());