Strip trailing whitespace

This commit is contained in:
Dylan K. Taylor
2021-03-28 19:02:51 +01:00
parent 3b3fb5e662
commit e42a691da9
4 changed files with 4 additions and 4 deletions

View File

@ -2936,7 +2936,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
$this->inventory->sendHeldItem($this);
break;
}
$tile = $this->level->getTile($pos);
if($tile instanceof ItemFrame and $tile->hasItem()){
if (lcg_value() <= $tile->getItemDropChance()){