diff options
author | Luck <git@lucko.me> | 2021-11-14 19:10:46 +0000 |
---|---|---|
committer | Luck <git@lucko.me> | 2021-11-14 19:10:46 +0000 |
commit | 49fc0ba47fac077a2fe965c44fd382a1ab02089c (patch) | |
tree | 2261bfdb4fd50b56a51fc1386eb4ac77d2fee939 /spark-fabric/src/main/java/me/lucko/spark/fabric | |
parent | eed8b8d38260fb16f114ab856e486904ae6dc937 (diff) | |
download | spark-49fc0ba47fac077a2fe965c44fd382a1ab02089c.tar.gz spark-49fc0ba47fac077a2fe965c44fd382a1ab02089c.tar.bz2 spark-49fc0ba47fac077a2fe965c44fd382a1ab02089c.zip |
Improve Velocity ClassSourceLookup
Diffstat (limited to 'spark-fabric/src/main/java/me/lucko/spark/fabric')
-rw-r--r-- | spark-fabric/src/main/java/me/lucko/spark/fabric/FabricClassSourceLookup.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricClassSourceLookup.java b/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricClassSourceLookup.java index fad0bc8..fa59079 100644 --- a/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricClassSourceLookup.java +++ b/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricClassSourceLookup.java @@ -34,7 +34,7 @@ public class FabricClassSourceLookup extends ClassSourceLookup.ByCodeSource { } @Override - protected String identifyFile(Path path) { + public String identifyFile(Path path) { if (!path.startsWith(this.modsDirectory)) { return null; } |