Commit 92321dab76d3574f8e789a0b8db0b2aec90183a0
1 parent
4a9abaca
LiteLoader -- fix for two minor derps
Showing
2 changed files
with
2 additions
and
2 deletions
debug/com/mumfrey/liteloader/debug/Start.java
@@ -32,7 +32,7 @@ public abstract class Start | @@ -32,7 +32,7 @@ public abstract class Start | ||
32 | * Arguments which are allowed to have multiple occurrences | 32 | * Arguments which are allowed to have multiple occurrences |
33 | */ | 33 | */ |
34 | private static final Set<String> MULTI_VALUE_ARGS = ImmutableSet.<String>of( | 34 | private static final Set<String> MULTI_VALUE_ARGS = ImmutableSet.<String>of( |
35 | - "tweakClass" | 35 | + "--tweakClass" |
36 | ); | 36 | ); |
37 | 37 | ||
38 | /** | 38 | /** |
java/common/com/mumfrey/liteloader/core/LiteLoaderMods.java
@@ -233,7 +233,7 @@ public class LiteLoaderMods | @@ -233,7 +233,7 @@ public class LiteLoaderMods | ||
233 | for (Mod mod : this.allMods) | 233 | for (Mod mod : this.allMods) |
234 | { | 234 | { |
235 | if (mod.getModClass().equals(modClass)) | 235 | if (mod.getModClass().equals(modClass)) |
236 | - return (T)mod; | 236 | + return (T)mod.getMod(); |
237 | } | 237 | } |
238 | 238 | ||
239 | return null; | 239 | return null; |