From 49fc0ba47fac077a2fe965c44fd382a1ab02089c Mon Sep 17 00:00:00 2001 From: Luck Date: Sun, 14 Nov 2021 19:10:46 +0000 Subject: Improve Velocity ClassSourceLookup --- .../src/main/java/me/lucko/spark/fabric/FabricClassSourceLookup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spark-fabric/src/main/java') 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; } -- cgit