mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 03:08:58 +00:00
Increased packet loss allowance
This commit is contained in:
parent
566cee2b0b
commit
e01a3e6811
@ -35,7 +35,7 @@ define("VIEWER", 3);
|
|||||||
|
|
||||||
//Players
|
//Players
|
||||||
define("PLAYER_RECOVERY_BUFFER", 2048);
|
define("PLAYER_RECOVERY_BUFFER", 2048);
|
||||||
define("PLAYER_MAX_PACKET_LOSS", 0.20);
|
define("PLAYER_MAX_PACKET_LOSS", 0.40);
|
||||||
|
|
||||||
|
|
||||||
//Block Updates
|
//Block Updates
|
||||||
|
@ -231,6 +231,15 @@ class Tile extends Position{
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getText(){
|
||||||
|
return array(
|
||||||
|
$this->data["Text1"],
|
||||||
|
$this->data["Text2"],
|
||||||
|
$this->data["Text3"],
|
||||||
|
$this->data["Text4"]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
public function close(){
|
public function close(){
|
||||||
if($this->closed === false){
|
if($this->closed === false){
|
||||||
$this->closed = true;
|
$this->closed = true;
|
Loading…
x
Reference in New Issue
Block a user