mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Map saving, breaking blocks. Huge rewrite
This commit is contained in:
parent
72c4cc7a30
commit
3a2010696f
15 changed files with 423 additions and 484 deletions
|
|
@ -120,6 +120,10 @@ function console($message, $EOL = true, $log = true, $level = 1){
|
|||
}
|
||||
}
|
||||
|
||||
function error_handler($errno, $errstr, $errfile, $errline){
|
||||
console("[ERROR] A level ".$errno." error happened: \"$errstr\" in \"$errfile\" at line $errline", true, true, 0);
|
||||
}
|
||||
|
||||
function logg($message, $name, $EOL = true, $level = 2, $close = false){
|
||||
global $fpointers;
|
||||
if((!defined("DEBUG") or DEBUG >= $level) and (!defined("LOG") or LOG === true)){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue