aboutsummaryrefslogtreecommitdiff
path: root/spark-fabric/src
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2021-11-14 19:10:46 +0000
committerLuck <git@lucko.me>2021-11-14 19:10:46 +0000
commit49fc0ba47fac077a2fe965c44fd382a1ab02089c (patch)
tree2261bfdb4fd50b56a51fc1386eb4ac77d2fee939 /spark-fabric/src
parenteed8b8d38260fb16f114ab856e486904ae6dc937 (diff)
downloadspark-49fc0ba47fac077a2fe965c44fd382a1ab02089c.tar.gz
spark-49fc0ba47fac077a2fe965c44fd382a1ab02089c.tar.bz2
spark-49fc0ba47fac077a2fe965c44fd382a1ab02089c.zip
Improve Velocity ClassSourceLookup
Diffstat (limited to 'spark-fabric/src')
-rw-r--r--spark-fabric/src/main/java/me/lucko/spark/fabric/FabricClassSourceLookup.java2
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;
}