From 1df2204490012779b4e1ba8c0d502141de797611 Mon Sep 17 00:00:00 2001 From: GameHerobrine <55945072+GameHerobrine@users.noreply.github.com> Date: Mon, 8 Jan 2024 18:31:48 +0300 Subject: [PATCH] fixed tickerFunction x3 --- src/PocketMinecraftServer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PocketMinecraftServer.php b/src/PocketMinecraftServer.php index fe89c973..349219ba 100644 --- a/src/PocketMinecraftServer.php +++ b/src/PocketMinecraftServer.php @@ -622,7 +622,7 @@ class PocketMinecraftServer{ ++$actionCount; try{ $return = @call_user_func($this->schedule[$cid][0] ?? function(){}, $this->schedule[$cid][1], $this->schedule[$cid][2]); //somehow args can be null - }catch(ValueError $e){ + }catch(Throwable $e){ $return = false; } }else{