aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/java/me/lucko/spark/common/command
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2024-07-18 18:13:46 +0100
committerLuck <git@lucko.me>2024-07-18 18:13:46 +0100
commited8eac595c26719571683cff7f3c9de2cfc28406 (patch)
treec23428d3539e6c315d89409094c001db057ba8cd /spark-common/src/main/java/me/lucko/spark/common/command
parent1b75abc56cdf01962b618e1f81d39c91558d2666 (diff)
downloadspark-ed8eac595c26719571683cff7f3c9de2cfc28406.tar.gz
spark-ed8eac595c26719571683cff7f3c9de2cfc28406.tar.bz2
spark-ed8eac595c26719571683cff7f3c9de2cfc28406.zip
Refactor ClassFinder into interface
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark/common/command')
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java b/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java
index 9ce66dc..9e2647a 100644
--- a/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java
+++ b/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java
@@ -507,7 +507,7 @@ public class SamplerModule implements CommandModule {
.creator(resp.senderData())
.comment(Iterables.getFirst(arguments.stringFlag("comment"), null))
.mergeMode(() -> {
- MethodDisambiguator methodDisambiguator = new MethodDisambiguator();
+ MethodDisambiguator methodDisambiguator = new MethodDisambiguator(platform.createClassFinder());
return arguments.boolFlag("separate-parent-calls")
? MergeMode.separateParentCalls(methodDisambiguator)
: MergeMode.sameMethod(methodDisambiguator);