mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
move ThreadException to pocketmine\thread namespace
This commit is contained in:
@@ -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{
|
||||
|
Reference in New Issue
Block a user