mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 08:35:20 +00:00
Updated language
This commit is contained in:
@ -2437,9 +2437,9 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
|||||||
|
|
||||||
if($item->isTool() and $this->isSurvival()){
|
if($item->isTool() and $this->isSurvival()){
|
||||||
if($item->useOn($target) and $item->getDamage() >= $item->getMaxDurability()){
|
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{
|
}else{
|
||||||
$this->inventory->setItemInHand($item, $this);
|
$this->inventory->setItemInHand($item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Submodule src/pocketmine/lang/locale updated: 5aeb313189...a7d53d9229
Reference in New Issue
Block a user