small things

This commit is contained in:
Shoghi Cervantes
2014-02-15 01:39:37 +01:00
parent 9301c04e1f
commit d699a97bb7
4 changed files with 13 additions and 10 deletions

View File

@ -77,6 +77,10 @@ class Level{
unset($this->usedChunks[$X.".".$Z][$player->CID]);
}
public function isChunkPopulated($X, $Z){
return $this->level->isPopulated($X, $Z);
}
public function checkTime(){
if(!isset($this->level)){
return false;

View File

@ -50,7 +50,7 @@ class WorldGenerator{
//Generate 4 chunks for spawning players
for($Z = 7; $Z <= 8; ++$Z){
for($X = 7; $X <= 8; ++$X){
for($X = 7; $X <= 9; ++$X){
$this->level->level->loadChunk($X, $Z);
}
}