/*
 * This file is part of Sponge, licensed under the MIT License (MIT).
 *
 * Copyright (c) SpongePowered <https://www.spongepowered.org>
 * Copyright (c) contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
package org.spongepowered.common.mixin.core.server.management;

import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.common.interfaces.server.management.IMixinPlayerProfileCacheEntry;

@Mixin(targets = "net/minecraft/server/management/PlayerProfileCache$ProfileEntry")
public abstract class MixinPlayerProfileCacheEntry implements IMixinPlayerProfileCacheEntry {

}

@@ -1316,41 +1316,262 @@
 ort 
-org.spongepowered.asm.mixin.Mixin
+com.mojang.authlib.GameProfile;%0Aimport org.spongepowered.asm.mixin.Implements;%0Aimport org.spongepowered.asm.mixin.Interface;%0Aimport org.spongepowered.asm.mixin.Intrinsic;%0Aimport org.spongepowered.asm.mixin.Mixin;%0Aimport org.spongepowered.asm.mixin.Shadow
 ;%0Aim
@@ -1661,16 +1661,40 @@
 Entry;%0A%0A
+import java.util.Date;%0A%0A
 @Mixin(t
@@ -1773,101 +1773,476 @@
 y%22)%0A
-public abstract class MixinPlayerProfileCacheEntry implements IMixinPlayerProfileCacheEntry %7B
+@Implements(@Interface(iface = IMixinPlayerProfileCacheEntry.class, prefix = %22entry$%22))%0Apublic abstract class MixinPlayerProfileCacheEntry %7B%0A%0A    @Shadow public abstract GameProfile getGameProfile();%0A    @Shadow public abstract Date getExpirationDate();%0A%0A    @Intrinsic%0A    public GameProfile entry$getGameProfile() %7B%0A        return this.getGameProfile();%0A    %7D%0A%0A    @Intrinsic%0A    public Date entry$getExpirationDate() %7B%0A        return this.getExpirationDate();%0A    %7D
 %0A%0A%7D%0A

Fix AbstractMethodError with PlayerProfileCacheEntry mixin