Add concept of version to mixin config, for forward compatibility checks

This commit is contained in:
Mumfrey committed 2015-02-27 17:58:19 +00:00
1 parent 9afaa6ba0f
commit 1eab9929bb
7 files changed
+306 -8

No files matched your search

@@ -180,6 +180,10 @@ public class MixinEnvironment {
return this.side != null ? this.side : Side.UNKNOWN;
}
public String getVersion() {
return (String)Launch.blackboard.get(MixinBootstrap.INIT_KEY);
}
public static MixinEnvironment getCurrentEnvironment() {
if (MixinEnvironment.env == null) {