mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 23:29:54 +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 $sleeping = false;
|
||||||
protected $clientID = null;
|
protected $clientID = null;
|
||||||
|
|
||||||
protected $stepHeight = 0.5;
|
protected $stepHeight = 0.6;
|
||||||
|
|
||||||
public $usedChunks = [];
|
public $usedChunks = [];
|
||||||
protected $loadQueue = [];
|
protected $loadQueue = [];
|
||||||
@ -1652,7 +1652,6 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
|||||||
|
|
||||||
switch($packet->action){
|
switch($packet->action){
|
||||||
case 5: //Shot arrow
|
case 5: //Shot arrow
|
||||||
//if($this->entity->inAction === true){
|
|
||||||
if($this->inventory->getItemInHand()->getID() === Item::BOW){
|
if($this->inventory->getItemInHand()->getID() === Item::BOW){
|
||||||
$bow = $this->inventory->getItemInHand();
|
$bow = $this->inventory->getItemInHand();
|
||||||
if($this->isSurvival()){
|
if($this->isSurvival()){
|
||||||
@ -1709,7 +1708,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//}
|
|
||||||
$this->startAction = false;
|
$this->startAction = false;
|
||||||
$this->inAction = false;
|
$this->inAction = false;
|
||||||
$this->sendMetadata($this->getViewers());
|
$this->sendMetadata($this->getViewers());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user