Shut some inspections up

This commit is contained in:
Dylan K. Taylor
2017-02-13 14:27:17 +00:00
parent 8a3c30ee7e
commit 903534572d
4 changed files with 12 additions and 5 deletions

View File

@ -101,7 +101,8 @@ class BurningFurnace extends Solid{
public function onActivate(Item $item, Player $player = null){
if($player instanceof Player){
if(!(($furnace = $this->getLevel()->getTile($this)) instanceof TileFurnace)){
$furnace = $this->getLevel()->getTile($this);
if(!($furnace instanceof TileFurnace)){
$nbt = new CompoundTag("", [
new ListTag("Items", []),
new StringTag("id", Tile::FURNACE),