mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 20:07:09 +00:00
Fix invalid timestamp causing W10 Edition to crash, fixes one bug in #254
This commit is contained in:
parent
8ba0b49022
commit
6b9c2b961b
@ -159,7 +159,7 @@ class LevelDB extends BaseLevelProvider{
|
|||||||
"ForceGameType" => new ByteTag("ForceGameType", 0),
|
"ForceGameType" => new ByteTag("ForceGameType", 0),
|
||||||
"GameType" => new IntTag("GameType", 0),
|
"GameType" => new IntTag("GameType", 0),
|
||||||
"Generator" => new IntTag("Generator", $generatorType),
|
"Generator" => new IntTag("Generator", $generatorType),
|
||||||
"LastPlayed" => new LongTag("LastPlayed", microtime(true) * 1000),
|
"LastPlayed" => new LongTag("LastPlayed", time()),
|
||||||
"LevelName" => new StringTag("LevelName", $name),
|
"LevelName" => new StringTag("LevelName", $name),
|
||||||
"NetworkVersion" => new IntTag("NetworkVersion", ProtocolInfo::CURRENT_PROTOCOL),
|
"NetworkVersion" => new IntTag("NetworkVersion", ProtocolInfo::CURRENT_PROTOCOL),
|
||||||
//"Platform" => new IntTag("Platform", 2), //TODO: find out what the possible values are for
|
//"Platform" => new IntTag("Platform", 2), //TODO: find out what the possible values are for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user