mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-05 13:08:24 +07:00
Created saves command to output saves directory
This commit is contained in:
parent
c20978bdca
commit
3e9b01bf02
@ -113,6 +113,17 @@ public class Commands {
|
||||
})
|
||||
.build();
|
||||
|
||||
public static final Command saves = Command.builder()
|
||||
.alias("saves")
|
||||
.description("Prints the current saves directory")
|
||||
.action(new Action() {
|
||||
@Override
|
||||
public void onExecuted(Command.Instance instance) {
|
||||
Riiablo.console.out.println(Riiablo.saves);
|
||||
}
|
||||
})
|
||||
.build();
|
||||
|
||||
public static final Command cvars = Command.builder()
|
||||
.alias("cvars")
|
||||
.description("Prints the descriptions of all cvars")
|
||||
|
Loading…
Reference in New Issue
Block a user