mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
parent
efa8692bfa
commit
cbe160e655
@ -412,7 +412,7 @@ class Player{
|
||||
break;
|
||||
case "server.chat":
|
||||
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;
|
||||
}else{
|
||||
$message = $data->get();
|
||||
|
@ -36,6 +36,7 @@ if(strpos(strtoupper(php_uname("s")), "WIN") === false or arg("enable-ansi", fal
|
||||
}else{
|
||||
define("ENABLE_ANSI", false);
|
||||
}
|
||||
|
||||
set_error_handler("fatal_handler", E_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_RECOVERABLE_ERROR | E_DEPRECATED);
|
||||
|
||||
$errors = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user