mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 01:09:44 +00:00
LevelDB: remove unnecessary \pocketmine\NAME dependency
this is non-obvious and makes it a pain the ass to use outside of PM.
This commit is contained in:
parent
7439e1971d
commit
04e4a36653
@ -129,7 +129,7 @@ class LevelDB extends BaseLevelProvider{
|
|||||||
|
|
||||||
$version = $this->levelData->getInt("StorageVersion", INT32_MAX, true);
|
$version = $this->levelData->getInt("StorageVersion", INT32_MAX, true);
|
||||||
if($version > self::CURRENT_STORAGE_VERSION){
|
if($version > self::CURRENT_STORAGE_VERSION){
|
||||||
throw new LevelException("Specified LevelDB world format version ($version) is not supported by " . \pocketmine\NAME);
|
throw new LevelException("Specified LevelDB world format version ($version) is not supported");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user