Fixed #3963, closes #3979, added hash for non-numeric seeds

This commit is contained in:
PEMapModder
2016-02-22 19:37:52 +08:00
parent 41a847567c
commit ed9888a2cb
6 changed files with 34 additions and 15 deletions

View File

@@ -2696,9 +2696,9 @@ class Level implements ChunkManager, Metadatable{
/**
* Gets the level seed
*
* @return int
* @return int|string int value of seed, or the string numeric representation of a long in 32-bit systems
*/
public function getSeed() : int{
public function getSeed(){
return $this->provider->getSeed();
}