Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2779 from alejandroliu/patch-1
Browse files Browse the repository at this point in the history
Fixed a silly typo in Server.php line 1142.
  • Loading branch information
msjyoo committed Mar 18, 2015
2 parents 891eeff + 5f2254c commit 7c0bd45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pocketmine/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ public function generateLevel($name, $seed = null, $generator = null, $options =

$seed = $seed === null ? Binary::readInt(@Utils::getRandomBytes(4, false)) : (int) $seed;

if(!isset($options["presey"])){
if(!isset($options["preset"])){
$options["preset"] = $this->getConfigString("generator-settings", "");
}

Expand Down

0 comments on commit 7c0bd45

Please sign in to comment.