Skip to content

Commit

Permalink
feat: added a few more command substitutions
Browse files Browse the repository at this point in the history
Also re-did the templating algorithm; should be more performant as the
number of overrides increases

FTBTeam/FTB-Mods-Issues#1311
  • Loading branch information
desht committed Aug 16, 2024
1 parent ffd3a44 commit 1edcf81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void fillConfigGroup(ConfigGroup config) {
@Override
public void claim(ServerPlayer player, boolean notify) {
Map<String, Object> overrides = new HashMap<>();
// overrides.put("p", player.getGameProfile().getName());
overrides.put("p", player.getGameProfile().getName());

BlockPos pos = player.blockPosition();
overrides.put("x", pos.getX());
Expand Down

0 comments on commit 1edcf81

Please sign in to comment.