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