Commit 63675d8b1fb32ff0227290bfef239b29a2e2da1e

Authored by Mumfrey
1 parent dc3c3c7b

Update Mixin to 0.6.8

build.gradle
... ... @@ -17,8 +17,8 @@ buildscript {
17 17 }
18 18 }
19 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 22 classpath 'org.spongepowered:mixingradle:0.4-SNAPSHOT'
23 23 }
24 24 }
... ... @@ -72,7 +72,7 @@ repositories {
72 72 }
73 73  
74 74 dependencies {
75   - compile('org.spongepowered:mixin:0.5.17-SNAPSHOT') {
  75 + compile('org.spongepowered:mixin:0.6.8-SNAPSHOT') {
76 76 exclude module: 'asm-commons'
77 77 exclude module: 'asm-tree'
78 78 exclude module: 'launchwrapper'
... ... @@ -148,7 +148,7 @@ processResources {
148 148  
149 149 // manifest entries for all jars
150 150 def jarManifest = {
151   - mainAttributes (
  151 + attributes (
152 152 'Built-By': System.properties['user.name'],
153 153 'Created-By': System.properties['java.vm.version'] + " (" + System.properties['java.vm.vendor'] + ")",
154 154 'Implementation-Title': name,
... ...
src/client/java/com/mumfrey/liteloader/client/mixin/MixinSession.java
... ... @@ -23,8 +23,9 @@ public abstract class MixinSession
23 23  
24 24 @Inject(method = "getProfile()Lcom/mojang/authlib/GameProfile;", cancellable = true, at = @At(
25 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 30 private void generateGameProfile(CallbackInfoReturnable<GameProfile> ci)
30 31 {
... ...