Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
public final class AdvancementCommand extends JavaPlugin implements Listener {

private final ListMultimap<String, CommandInfo> commandMap = ArrayListMultimap.create();
private static final Pattern PLAYER = Pattern.compile("%player\\b", Pattern.CASE_INSENSITIVE);
private static final Pattern PLAYER_DISPLAY = Pattern.compile("%playerdisplayname\\b", Pattern.CASE_INSENSITIVE);
private static final Pattern UUID = Pattern.compile("%uuid\\b", Pattern.CASE_INSENSITIVE);
private static final Pattern ADVANCEMENT = Pattern.compile("%advancement\\b", Pattern.CASE_INSENSITIVE);
private static final Pattern PLAYER = Pattern.compile("%player%", Pattern.CASE_INSENSITIVE);
private static final Pattern PLAYER_DISPLAY = Pattern.compile("%playerdisplayname%", Pattern.CASE_INSENSITIVE);
private static final Pattern UUID = Pattern.compile("%uuid%", Pattern.CASE_INSENSITIVE);
private static final Pattern ADVANCEMENT = Pattern.compile("%advancement%", Pattern.CASE_INSENSITIVE);

@Override
public void onEnable() {
Expand Down