Commit 63675d8b1fb32ff0227290bfef239b29a2e2da1e
1 parent
dc3c3c7b
Update Mixin to 0.6.8
Showing
2 changed files
with
7 additions
and
6 deletions
build.gradle
@@ -17,8 +17,8 @@ buildscript { | @@ -17,8 +17,8 @@ buildscript { | ||
17 | } | 17 | } |
18 | } | 18 | } |
19 | dependencies { | 19 | dependencies { |
20 | - classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT' | ||
21 | - classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.0' | 20 | + classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT' |
21 | + classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3' | ||
22 | classpath 'org.spongepowered:mixingradle:0.4-SNAPSHOT' | 22 | classpath 'org.spongepowered:mixingradle:0.4-SNAPSHOT' |
23 | } | 23 | } |
24 | } | 24 | } |
@@ -72,7 +72,7 @@ repositories { | @@ -72,7 +72,7 @@ repositories { | ||
72 | } | 72 | } |
73 | 73 | ||
74 | dependencies { | 74 | dependencies { |
75 | - compile('org.spongepowered:mixin:0.5.17-SNAPSHOT') { | 75 | + compile('org.spongepowered:mixin:0.6.8-SNAPSHOT') { |
76 | exclude module: 'asm-commons' | 76 | exclude module: 'asm-commons' |
77 | exclude module: 'asm-tree' | 77 | exclude module: 'asm-tree' |
78 | exclude module: 'launchwrapper' | 78 | exclude module: 'launchwrapper' |
@@ -148,7 +148,7 @@ processResources { | @@ -148,7 +148,7 @@ processResources { | ||
148 | 148 | ||
149 | // manifest entries for all jars | 149 | // manifest entries for all jars |
150 | def jarManifest = { | 150 | def jarManifest = { |
151 | - mainAttributes ( | 151 | + attributes ( |
152 | 'Built-By': System.properties['user.name'], | 152 | 'Built-By': System.properties['user.name'], |
153 | 'Created-By': System.properties['java.vm.version'] + " (" + System.properties['java.vm.vendor'] + ")", | 153 | 'Created-By': System.properties['java.vm.version'] + " (" + System.properties['java.vm.vendor'] + ")", |
154 | 'Implementation-Title': name, | 154 | 'Implementation-Title': name, |
src/client/java/com/mumfrey/liteloader/client/mixin/MixinSession.java
@@ -23,8 +23,9 @@ public abstract class MixinSession | @@ -23,8 +23,9 @@ public abstract class MixinSession | ||
23 | 23 | ||
24 | @Inject(method = "getProfile()Lcom/mojang/authlib/GameProfile;", cancellable = true, at = @At( | 24 | @Inject(method = "getProfile()Lcom/mojang/authlib/GameProfile;", cancellable = true, at = @At( |
25 | value = "NEW", | 25 | value = "NEW", |
26 | - args = "class=com/mojang/authlib/GameProfile", | ||
27 | - ordinal = 1 | 26 | + target = "com/mojang/authlib/GameProfile", |
27 | + ordinal = 1, | ||
28 | + remap = false | ||
28 | )) | 29 | )) |
29 | private void generateGameProfile(CallbackInfoReturnable<GameProfile> ci) | 30 | private void generateGameProfile(CallbackInfoReturnable<GameProfile> ci) |
30 | { | 31 | { |