Skip to content

Commit

Permalink
Fix #9
Browse files Browse the repository at this point in the history
  • Loading branch information
GamakCZ committed Apr 15, 2018
1 parent c89ccf3 commit d6a2bb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function executeSub(CommandSender $sender, array $args, string $name) {
return;
}

if(!$this->getServer()->getDefaultLevel()->getFolderName() == $args[0]) {
if(!$this->getServer()->getDefaultLevel()->getFolderName() == $this->getServer()->getLevelByName($args[0])->getFolderName()) {
$sender->sendMessage("§cCould not remove default level!");
return;
}
Expand Down

1 comment on commit d6a2bb3

@SOF3
Copy link

@SOF3 SOF3 commented on d6a2bb3 Apr 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dear @CzechPMDevs:
I regret to inform you that the release you submitted, named "MultiWorld" (v1.4.1), for the project MultiWorld on 2018-04-15T14:35:57.000Z, has been rejected.

Special colors including red, yellow, gold, green, aqua, etc. are reserved for notices, warnings, errors and other important messages. You are not allowed to use them for meaningless messages like who wrote the plugin in onEnable/onDisable, as they distract the user from real errors/warnings. You may still write that message (although we discourage you to), but please keep it white.

Please resolve the issues listed above and submit the updated plugin again.

Note: This comment is created here because this is the last commit when the released build was created.

via Poggit (@poggit-bot)

Please sign in to comment.