From 0143ab76fe3dddc4fbaecfa61b5291a227dba70e Mon Sep 17 00:00:00 2001 From: ChiefDev Date: Fri, 13 Nov 2015 14:54:11 +0800 Subject: [PATCH] Update Main.php gg --- CombatLogger/src/Lambo/CombatLogger/Main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CombatLogger/src/Lambo/CombatLogger/Main.php b/CombatLogger/src/Lambo/CombatLogger/Main.php index f33892f..23d040c 100644 --- a/CombatLogger/src/Lambo/CombatLogger/Main.php +++ b/CombatLogger/src/Lambo/CombatLogger/Main.php @@ -49,7 +49,7 @@ public function EntityDamageEvent(EntityDamageEvent $event){ } private function setTime(Player $player){ - $msg = "[CombatLogger] Logging out now will cause you to die.\nPlease wait ".$this->interval." seconds."; + $msg = "[MVPELogger] You are now in combat. ".$this->interval." seconds."; if(isset($this->players[$player->getName()])){ if((time() - $this->players[$player->getName()]) > $this->interval){ $player->sendMessage($msg); @@ -112,7 +112,7 @@ public function onRun($currentTick){ $this->seconds++; if($this->seconds === $this->interval){ if($this->player->isOnline()){ - $this->player->sendMessage("[CombatLogger] You can now log out."); + $this->player->sendMessage("[MVPELogger] You are not logger in comabt."); $this->plugin->getServer()->getScheduler()->cancelTask($this->getTaskId()); unset($this->plugin->tasks[$player->getName()]); }