mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 15:19:56 +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:
parent
37fd0372cc
commit
cd21c28d46
@ -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()){
|
||||
@ -133,4 +134,4 @@ class TimingsCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user