Skip to content

Commit

Permalink
feat(tsl): placeholder evaluation support on EXECUTE action
Browse files Browse the repository at this point in the history
  • Loading branch information
iGoodie committed Sep 9, 2019
1 parent f80fdd7 commit c033a5c
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -34,7 +34,9 @@ protected void performAction(ServerPlayerEntity player, EventArguments args) {
.withFeedbackDisabled();

commands.forEach(command -> {
int result = player.getServer().getCommandManager().handleCommand(source, command);
int result = player.getServer()
.getCommandManager()
.handleCommand(source, replaceExpressions(command, args));
TwitchSpawn.LOGGER.info("Executed (Status:{}) -> {}", result, command);
});
}
Expand Down

0 comments on commit c033a5c

Please sign in to comment.