From 86e32a16206cbdca59487cc8b94305d6dbd241af Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Thu, 31 Aug 2023 16:51:41 +0300 Subject: [PATCH] phar format is not experimental, fixed death msgs --- src/API/PlayerAPI.php | 2 +- src/API/PluginAPI.php | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/API/PlayerAPI.php b/src/API/PlayerAPI.php index b74bc5dc..be2bc49b 100644 --- a/src/API/PlayerAPI.php +++ b/src/API/PlayerAPI.php @@ -69,7 +69,7 @@ class PlayerAPI{ } }else{ - $message = "was killed by {$e->name}"; + $message = " was killed by {$e->name}"; } } }else{ diff --git a/src/API/PluginAPI.php b/src/API/PluginAPI.php index c3f8f0b7..c0c68df1 100644 --- a/src/API/PluginAPI.php +++ b/src/API/PluginAPI.php @@ -174,9 +174,6 @@ class PluginAPI extends stdClass{ } } } - if($pharCnt > 0){ - console("[WARNING] PHAR Plugin format is experemental and might cause bugs."); - } } public function load($file){