Skip to content

Commit b298842

Browse files
NopoTheGamerlineargraph
authored andcommitted
make a getter for path
1 parent 482b8ba commit b298842

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

common/src/main/java/io/github/notenoughupdates/moulconfig/processor/ProcessedOption.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ public interface ProcessedOption extends HasDebugLocation {
4545

4646
String getDescription();
4747

48+
String getPath();
49+
4850
Config getConfig();
4951

5052
Object get();

common/src/main/java/io/github/notenoughupdates/moulconfig/processor/ProcessedOptionImpl.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ public String getDescription() {
8686
return desc;
8787
}
8888

89+
@Override
90+
public String getPath() {
91+
return path;
92+
}
93+
8994
@Override
9095
public Config getConfig() {
9196
return config;

0 commit comments

Comments
 (0)