Partial fix for #849

This commit is contained in:
PikaMug 2019-07-15 16:41:07 -04:00
parent 4dd59045d6
commit a12bd8402d

View File

@ -622,7 +622,9 @@ public class Quest {
int index = 0;
for (String s : rews.getCommands()) {
if (rews.getCommandsOverrideDisplay().isEmpty() == false && rews.getCommandsOverrideDisplay().size() >= index) {
player.sendMessage("- " + ChatColor.DARK_GREEN + rews.getCommandsOverrideDisplay().get(index));
if (!rews.getCommandsOverrideDisplay().get(index).trim().equals("")) {
player.sendMessage("- " + ChatColor.DARK_GREEN + rews.getCommandsOverrideDisplay().get(index));
}
} else {
player.sendMessage("- " + ChatColor.DARK_GREEN + s);
}