Print actual value for setup?

This commit is contained in:
Jesse Boyd 2019-11-10 12:45:51 +00:00
parent 729452038b
commit 34eb7d05dc
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -276,8 +276,9 @@ import java.util.UUID;
Captions.NOT_ALLOWED_BLOCK.send(player, e.getUnsafeBlock().toString());
}
if (valid) {
sendMessage(player, Captions.SETUP_VALID_ARG, step.getConstant(), args[0]);
step.setValue(args[0]);
Object value = step.getValue();
sendMessage(player, Captions.SETUP_VALID_ARG, step.getConstant(), value);
object.setup_index++;
if (object.setup_index == object.step.length) {
onCommand(player, args);