mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
parent
efa8692bfa
commit
cbe160e655
2 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue