Updated language

This commit is contained in:
Shoghi Cervantes
2015-08-13 09:17:43 +02:00
parent 6e2ea63ce1
commit 99df6f8edc
2 changed files with 3 additions and 3 deletions

View File

@ -2437,9 +2437,9 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
if($item->isTool() and $this->isSurvival()){
if($item->useOn($target) and $item->getDamage() >= $item->getMaxDurability()){
$this->inventory->setItemInHand(Item::get(Item::AIR, 0, 1), $this);
$this->inventory->setItemInHand(Item::get(Item::AIR, 0, 1));
}else{
$this->inventory->setItemInHand($item, $this);
$this->inventory->setItemInHand($item);
}
}
}