mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 02:38:54 +00:00
commit
91bda131be
@ -33,11 +33,11 @@ class ServerKiller extends Thread{
|
||||
|
||||
public function run(){
|
||||
sleep($this->time);
|
||||
echo "\nTook to long to stop, server was killed forcefully!\n";
|
||||
echo "\nTook too long to stop, server was killed forcefully!\n";
|
||||
@\pocketmine\kill(getmypid());
|
||||
}
|
||||
|
||||
public function getThreadName(){
|
||||
return "Server Killer";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user