Fix /npc panda typo

This commit is contained in:
fullwall 2019-06-28 16:19:17 +08:00
parent f9a36bae24
commit 1028a3fabb
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ public class Commands {
throw new CommandUsageException(Messages.INVALID_PANDA_GENE, throw new CommandUsageException(Messages.INVALID_PANDA_GENE,
Util.listValuesPretty(Panda.Gene.values())); Util.listValuesPretty(Panda.Gene.values()));
} }
trait.setMainGene(gene); trait.setHiddenGene(gene);
output += ' ' + Messaging.tr(Messages.PANDA_HIDDEN_GENE_SET, args.getFlag("hgene")); output += ' ' + Messaging.tr(Messages.PANDA_HIDDEN_GENE_SET, args.getFlag("hgene"));
} }
if (!output.isEmpty()) { if (!output.isEmpty()) {