Removed fix which is now in VV

This commit is contained in:
RaphiMC 2024-06-09 15:53:32 +02:00
parent 9a8abdd9e0
commit ca7a7400be
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94
2 changed files with 0 additions and 33 deletions

View File

@ -21,7 +21,6 @@ import com.viaversion.viabackwards.protocol.v1_20_5to1_20_3.provider.TransferPro
import com.viaversion.viaversion.api.Via;
import com.viaversion.viaversion.api.protocol.version.VersionProvider;
import com.viaversion.viaversion.protocols.v1_8to1_9.provider.CompressionProvider;
import com.viaversion.viaversion.protocols.v1_8to1_9.provider.HandItemProvider;
import net.raphimc.viabedrock.protocol.provider.NettyPipelineProvider;
import net.raphimc.vialegacy.protocol.classic.c0_28_30toa1_0_15.provider.ClassicCustomCommandProvider;
import net.raphimc.vialegacy.protocol.classic.c0_28_30toa1_0_15.provider.ClassicMPPassProvider;
@ -42,7 +41,6 @@ public class ViaProxyVLLoader extends VLLoader {
// ViaVersion
Via.getManager().getProviders().use(CompressionProvider.class, new ViaProxyCompressionProvider());
Via.getManager().getProviders().use(HandItemProvider.class, new ViaProxyHandItemProvider());
Via.getManager().getProviders().use(VersionProvider.class, new ViaProxyVersionProvider());
// ViaBackwards

View File

@ -1,31 +0,0 @@
/*
* This file is part of ViaProxy - https://github.com/RaphiMC/ViaProxy
* Copyright (C) 2021-2024 RK_01/RaphiMC and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.raphimc.viaproxy.protocoltranslator.providers;
import com.viaversion.viaversion.api.connection.UserConnection;
import com.viaversion.viaversion.api.minecraft.item.Item;
import com.viaversion.viaversion.protocols.v1_8to1_9.provider.HandItemProvider;
public class ViaProxyHandItemProvider extends HandItemProvider {
@Override
public Item getHandItem(final UserConnection info) {
return null;
}
}