mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-11 20:11:18 +03:00
* Allow the patch manager to stop loading data from a command
This commit is contained in:
@@ -38,6 +38,12 @@ void PatchManager::LoadPatchData(const std::string& patchData)
|
||||
if (!std::getline(lineStream, command, PM_SEPARATOR))
|
||||
continue;
|
||||
|
||||
if (command == "stop_now")
|
||||
{
|
||||
LogMsg("PatchManager: Found stop_now, quitting patch processing earlier, iProgramInCpp probably wanted to test something");
|
||||
return;
|
||||
}
|
||||
|
||||
if (command == "terrain" || command == "items")
|
||||
{
|
||||
bool bIsItems = command == "items";
|
||||
|
||||
Reference in New Issue
Block a user