mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
typo fix
This commit is contained in:
parent
165388c8ae
commit
761ac69a20
13 changed files with 7 additions and 23 deletions
|
|
@ -61,7 +61,7 @@ class AsyncMultipleQueue extends Thread{
|
|||
++$offset;
|
||||
}
|
||||
}
|
||||
$this->input = (string) substr($this->input, $offset);
|
||||
$this->input = substr($this->input, $offset);
|
||||
return $str;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -109,7 +109,6 @@ class Config{
|
|||
default:
|
||||
$this->correct = false;
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
if(!is_array($this->config)){
|
||||
$this->config = $default;
|
||||
|
|
@ -247,7 +246,7 @@ class Config{
|
|||
unset($this->correct);
|
||||
unset($this->type);
|
||||
$this->load($this->file);
|
||||
$correct = $this->check();
|
||||
$this->check();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -67,7 +67,6 @@ class NBT{
|
|||
default:
|
||||
echo bin2hex(substr($this->binary, $this->offset - 1)) . PHP_EOL . PHP_EOL;
|
||||
die("Invalid NBT Tag $tag");
|
||||
break;
|
||||
}
|
||||
$node[$name] = $value;
|
||||
}
|
||||
|
|
@ -155,7 +154,6 @@ class NBT{
|
|||
default:
|
||||
echo bin2hex(substr($this->binary, $this->offset - 1)) . PHP_EOL . PHP_EOL;
|
||||
die("Invalid NBT Tag $tag");
|
||||
break;
|
||||
}
|
||||
$node[] = $value;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ class Random{
|
|||
$this->haveNextNextGaussian = false;
|
||||
return $this->nextNextGaussian;
|
||||
}else{
|
||||
$v1 = $v2 = $s = null;
|
||||
do{
|
||||
$v1 = 2 * $this->nextFloat() - 1; // between -1.0 and 1.0
|
||||
$v2 = 2 * $this->nextFloat() - 1; // between -1.0 and 1.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue