mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
Fixed /timings off
When issuing `/timings off`, the message `Please enable timings by typing /timings on` is sent to the issuer. This commit fixes this issue.
This commit is contained in:
@@ -60,6 +60,7 @@ class TimingsCommand extends VanillaCommand{
|
||||
}elseif($mode === "off"){
|
||||
$sender->getServer()->getPluginManager()->setUseTimings(false);
|
||||
$sender->sendMessage("Disabled Timings");
|
||||
return true;
|
||||
}
|
||||
|
||||
if(!$sender->getServer()->getPluginManager()->useTimings()){
|
||||
|
Reference in New Issue
Block a user