move ThreadException to pocketmine\thread namespace

This commit is contained in:
Dylan K. Taylor
2019-10-29 12:42:38 +00:00
parent 2e446e4df3
commit cbef2bbc51
4 changed files with 35 additions and 6 deletions

View File

@@ -25,6 +25,7 @@ namespace pocketmine\command;
use pocketmine\snooze\SleeperNotifier;
use pocketmine\thread\Thread;
use pocketmine\thread\ThreadException;
use pocketmine\utils\Utils;
use function extension_loaded;
use function fclose;
@@ -91,7 +92,7 @@ class CommandReader extends Thread{
$message = "STDIN is being piped from another location and the pipe is blocked, cannot stop safely";
}
throw new \ThreadException($message);
throw new ThreadException($message);
}
private function initStdin() : void{