fix for command issue

This commit is contained in:
Brianna O'Keefe 2018-11-21 18:12:13 -05:00
parent a45552864c
commit a462879fea
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ public class VoucherExecutor {
}
for (String command : voucher.getCommands()) {
command = command.replaceAll("%player%", name);
command = command.replaceAll("%voucher%", voucher.getName(true));
command = command.replaceAll("%voucher%", voucher.getName(false));
if (command.startsWith("[player]")) {
command = command.replace("[player]", "");
player.performCommand(command);