mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 16:24:05 +00:00
Increased Player->stepHeight to 0.6, closes #2156
This commit is contained in:
parent
afdf7bc2b9
commit
341717c89d
@ -161,7 +161,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
||||
protected $sleeping = false;
|
||||
protected $clientID = null;
|
||||
|
||||
protected $stepHeight = 0.5;
|
||||
protected $stepHeight = 0.6;
|
||||
|
||||
public $usedChunks = [];
|
||||
protected $loadQueue = [];
|
||||
@ -1652,7 +1652,6 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
||||
|
||||
switch($packet->action){
|
||||
case 5: //Shot arrow
|
||||
//if($this->entity->inAction === true){
|
||||
if($this->inventory->getItemInHand()->getID() === Item::BOW){
|
||||
$bow = $this->inventory->getItemInHand();
|
||||
if($this->isSurvival()){
|
||||
@ -1709,7 +1708,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
||||
}
|
||||
}
|
||||
}
|
||||
//}
|
||||
|
||||
$this->startAction = false;
|
||||
$this->inAction = false;
|
||||
$this->sendMetadata($this->getViewers());
|
||||
|
Loading…
x
Reference in New Issue
Block a user