Merge branch 'master' into mcpe-1.2

This commit is contained in:
Dylan K. Taylor
2017-08-28 18:02:09 +01:00
20 changed files with 53 additions and 63 deletions

View File

@@ -86,11 +86,11 @@ class VersionCommand extends VanillaCommand{
$desc = $plugin->getDescription();
$sender->sendMessage(TextFormat::DARK_GREEN . $desc->getName() . TextFormat::WHITE . " version " . TextFormat::DARK_GREEN . $desc->getVersion());
if($desc->getDescription() != null){
if($desc->getDescription() !== ""){
$sender->sendMessage($desc->getDescription());
}
if($desc->getWebsite() != null){
if($desc->getWebsite() !== ""){
$sender->sendMessage("Website: " . $desc->getWebsite());
}