mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
Removed debug messages
This commit is contained in:
parent
05ae6cdef3
commit
6f2b2f98d6
1 changed files with 0 additions and 2 deletions
|
|
@ -131,7 +131,6 @@ class PocketMinecraftServer{
|
||||||
}
|
}
|
||||||
|
|
||||||
public function query($sql, $fetch = false){
|
public function query($sql, $fetch = false){
|
||||||
console("[INTERNAL] [SQL] ".$sql, true, true, 3);
|
|
||||||
$result = $this->database->query($sql) or console("[ERROR] [SQL Error] ".$this->database->lastErrorMsg().". Query: ".$sql, true, true, 0);
|
$result = $this->database->query($sql) or console("[ERROR] [SQL Error] ".$this->database->lastErrorMsg().". Query: ".$sql, true, true, 0);
|
||||||
if($fetch === true and ($result !== false and $result !== true)){
|
if($fetch === true and ($result !== false and $result !== true)){
|
||||||
$result = $result->fetchArray(SQLITE3_ASSOC);
|
$result = $result->fetchArray(SQLITE3_ASSOC);
|
||||||
|
|
@ -524,7 +523,6 @@ class PocketMinecraftServer{
|
||||||
$return = false;
|
$return = false;
|
||||||
}else{
|
}else{
|
||||||
$return = call_user_func($schedule[0],$schedule[1],$schedule[2]);
|
$return = call_user_func($schedule[0],$schedule[1],$schedule[2]);
|
||||||
console(get_class($schedule[0][0])."::".$schedule[0][1]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if($action["repeat"] === 0 or $return === false){
|
if($action["repeat"] === 0 or $return === false){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue