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