Remove a couple of obsolete TODO comments

This commit is contained in:
Dylan K. Taylor
2017-05-04 10:46:28 +01:00
parent c0e0730923
commit e72d8cf8f5
2 changed files with 0 additions and 2 deletions

View File

@ -2381,7 +2381,6 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
}else{
$item = $this->inventory->getItemInHand();
$oldItem = clone $item;
//TODO: Implement adventure mode checks
if($this->level->useItemOn($blockVector, $item, $packet->face, $packet->fx, $packet->fy, $packet->fz, $this, true)){
if(!$item->equals($oldItem) or $item->getCount() !== $oldItem->getCount()){
$this->inventory->setItemInHand($item);