public function saveChunk($x, $z) { if ($this->isChunkLoaded($x, $z)) { $this->writeChunk($this->getChunk($x, $z)); return true; } return false; }