Fixed particles being emmited on non-player block breaks

This commit is contained in:
Shoghi Cervantes
2015-04-23 17:02:37 +02:00
parent 04f3cc4905
commit ba635b8858
3 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ class BurningFurnace extends Solid{
$furnace = Tile::createTile("Furnace", $this->getLevel()->getChunk($this->x >> 4, $this->z >> 4), $nbt);
}
if(($player->getGamemode() & 0x01) === 0x01){
if($player->isCreative()){
return true;
}