mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 03:16:35 +00:00
parent
efa8692bfa
commit
cbe160e655
@ -412,7 +412,7 @@ class Player{
|
|||||||
break;
|
break;
|
||||||
case "server.chat":
|
case "server.chat":
|
||||||
if(($data instanceof Container) === true){
|
if(($data instanceof Container) === true){
|
||||||
if(!$data->check($this->username) or !$data->check($this->iusername)){
|
if(!$data->check($this->username) and !$data->check($this->iusername)){
|
||||||
return;
|
return;
|
||||||
}else{
|
}else{
|
||||||
$message = $data->get();
|
$message = $data->get();
|
||||||
|
@ -36,6 +36,7 @@ if(strpos(strtoupper(php_uname("s")), "WIN") === false or arg("enable-ansi", fal
|
|||||||
}else{
|
}else{
|
||||||
define("ENABLE_ANSI", false);
|
define("ENABLE_ANSI", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
set_error_handler("fatal_handler", E_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_RECOVERABLE_ERROR | E_DEPRECATED);
|
set_error_handler("fatal_handler", E_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_RECOVERABLE_ERROR | E_DEPRECATED);
|
||||||
|
|
||||||
$errors = 0;
|
$errors = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user