/***
 * ASM: a very small and fast Java bytecode manipulation framework
 * Copyright (c) 2000-2011 INRIA, France Telecom
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. Neither the name of the copyright holders nor the names of its
 *    contributors may be used to endorse or promote products derived from
 *    this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 * THE POSSIBILITY OF SUCH DAMAGE.
 */

package org.spongepowered.mod.mixin.core.event.state;

import net.minecraftforge.fml.common.event.FMLEvent;
import net.minecraftforge.fml.common.event.FMLStateEvent;
import org.spongepowered.api.Game;
import org.spongepowered.api.util.annotation.NonnullByDefault;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.mod.SpongeMod;

@NonnullByDefault
@Mixin(FMLStateEvent.class)
public abstract class MixinEventState extends FMLEvent {

    public Game getGame() {
        return SpongeMod.instance.getGame();
    }
}

@@ -1,867 +1,764 @@
 /*
-**
 %0A * 
-ASM: a very small and fast Java bytecode manipulation framework%0A * Copyright (c) 2000-2011 INRIA, France Telecom%0A * All rights res
+This file is part of Sponge, licensed under the MIT License (MIT).%0A *%0A * Copyright (c) SpongePowered.org %3Chttp://www.spongepow
 er
-v
 ed.
-%0A *%0A * Redistribution and use in source and binary forms, with or without%0A * modification, are permitted provided that the following conditions%0A * are met:%0A * 1. Redistributi
+org%3E%0A * Copyright (c) contributors%0A *%0A * Permission is hereby granted, free of charge, to any pers
 on
-s
  o
-f source code must retain the above copyright%0A *    notice, this list of conditions and the following disclaimer.%0A * 2. Redi
+btaining a copy%0A * of this software and associated documentation files (the %22Software%22), to deal%0A * in the Software without re
 stri
-bu
+c
 tion
-s in binary form must reproduce the above copy
+, including without limitation the 
 right
+s
 %0A * 
-   notice, this list of conditions and the following disclaimer in the%0A *    documentation and/or other materials provided with the distribution.%0A * 3. Neither the name of the copyright holders nor the names of its%0A *    contributors may be used to endorse or promote products derived from%0A *    this software without specific prior written permission
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell%0A * copies of the Software, and to permit persons to whom the Software is%0A * furnished to do so, subject to the following conditions:%0A *%0A * The above copyright notice and this permission notice shall be included in%0A * all copies or substantial portions of the Software
 .%0A *
@@ -763,18 +763,17 @@
  *%0A * TH
-IS
+E
  SOFTWAR
@@ -790,68 +790,46 @@
 DED 
-BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS %22AS IS%22%0A * AND ANY
+%22AS IS%22, WITHOUT WARRANTY OF ANY KIND,
  EXP
@@ -835,24 +835,27 @@
 PRESS OR
+%0A *
  IMPLIED
  WARRANT
@@ -846,27 +846,16 @@
  IMPLIED
- WARRANTIES
 , INCLUD
@@ -849,33 +849,32 @@
 PLIED, INCLUDING
-,
  BUT NOT LIMITED
@@ -880,24 +880,12 @@
 D TO
-,
  THE
-%0A * IMPLIED
  WAR
@@ -910,20 +910,20 @@
 TABILITY
- AND
+,%0A *
  FITNESS
@@ -951,26 +951,28 @@
 POSE
-%0A * ARE DISCLAIMED
+ AND NONINFRINGEMENT
 . IN
@@ -994,46 +994,43 @@
  THE
- COPYRIGHT OWNER OR CONTRIBUTO
+%0A * AUTHORS OR COPYRIGHT HOLDE
 RS BE
-%0A *
  LIA
@@ -1045,344 +1045,84 @@
 ANY 
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR%0A * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF%0A * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS%0A * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN%0A * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+CLAIM, DAMAGES OR OTHER%0A * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
  OR 
@@ -1134,12 +1134,9 @@
 WISE
-)%0A *
+,
  ARI
@@ -1144,111 +1144,112 @@
 ING 
-IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF%0A * THE POSSIBILITY OF SUCH DAMAG
+FROM,%0A * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN%0A * THE SOFTWAR
 E.%0A */%0A
-%0A
 pack

fix mixineventstate license file