mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-26 11:07:49 +01:00
Partial fix for #849
This commit is contained in:
parent
4dd59045d6
commit
a12bd8402d
@ -622,7 +622,9 @@ public class Quest {
|
|||||||
int index = 0;
|
int index = 0;
|
||||||
for (String s : rews.getCommands()) {
|
for (String s : rews.getCommands()) {
|
||||||
if (rews.getCommandsOverrideDisplay().isEmpty() == false && rews.getCommandsOverrideDisplay().size() >= index) {
|
if (rews.getCommandsOverrideDisplay().isEmpty() == false && rews.getCommandsOverrideDisplay().size() >= index) {
|
||||||
|
if (!rews.getCommandsOverrideDisplay().get(index).trim().equals("")) {
|
||||||
player.sendMessage("- " + ChatColor.DARK_GREEN + rews.getCommandsOverrideDisplay().get(index));
|
player.sendMessage("- " + ChatColor.DARK_GREEN + rews.getCommandsOverrideDisplay().get(index));
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
player.sendMessage("- " + ChatColor.DARK_GREEN + s);
|
player.sendMessage("- " + ChatColor.DARK_GREEN + s);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user