From 5b6c48fab7358958a8efafc4411925417c242266 Mon Sep 17 00:00:00 2001 From: ImMorpheus Date: Sun, 12 Nov 2023 15:51:02 +0100 Subject: [PATCH] Remove invalid accessor readded during api-10 merge --- .../Connection_PacketHolderAccessor.java | 34 ------------------- .../resources/mixins.sponge.accessors.json | 1 - 2 files changed, 35 deletions(-) delete mode 100644 src/accessors/java/org/spongepowered/common/accessor/network/Connection_PacketHolderAccessor.java diff --git a/src/accessors/java/org/spongepowered/common/accessor/network/Connection_PacketHolderAccessor.java b/src/accessors/java/org/spongepowered/common/accessor/network/Connection_PacketHolderAccessor.java deleted file mode 100644 index 9286033e7dd..00000000000 --- a/src/accessors/java/org/spongepowered/common/accessor/network/Connection_PacketHolderAccessor.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * This file is part of Sponge, licensed under the MIT License (MIT). - * - * Copyright (c) SpongePowered - * 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.accessor.network; - -import net.minecraft.network.PacketSendListener; -import org.spongepowered.asm.mixin.Mixin; -import org.spongepowered.asm.mixin.gen.Accessor; - -@Mixin(targets = "net/minecraft/network/Connection$PacketHolder") -public interface Connection_PacketHolderAccessor { - @Accessor("listener") PacketSendListener accessor$listener(); -} diff --git a/src/accessors/resources/mixins.sponge.accessors.json b/src/accessors/resources/mixins.sponge.accessors.json index 3266ea7eeb8..96a26714538 100644 --- a/src/accessors/resources/mixins.sponge.accessors.json +++ b/src/accessors/resources/mixins.sponge.accessors.json @@ -20,7 +20,6 @@ "commands.arguments.selector.options.EntitySelectorOptions_OptionAccessor", "commands.arguments.selector.options.EntitySelectorOptionsAccessor", "entity.passive.AbstractChestedHorseEntityAccessor", - "network.Connection_PacketHolderAccessor", "network.ConnectionAccessor", "network.chat.HoverEvent_ItemStackInfoAccessor", "network.chat.StyleAccessor",