Remove unused mixin class

This commit is contained in:
FlorianMichael 2023-11-05 14:30:24 +01:00
parent d6c8501fa9
commit 6e8bfa6060
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126
3 changed files with 5 additions and 34 deletions

View File

@ -1,33 +0,0 @@
/*
* This file is part of ViaFabricPlus - https://github.com/FlorianMichael/ViaFabricPlus
* Copyright (C) 2021-2023 FlorianMichael/EnZaXD 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 de.florianmichael.viafabricplus.injection.mixin.fixes.viaversion.protocol1_9to1_8;
import com.viaversion.viaversion.protocols.protocol1_9to1_8.ViaIdleThread;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(ViaIdleThread.class)
public class MixinViaIdleThread {
@Inject(method = "run", at = @At("HEAD"), cancellable = true, remap = false)
public void injectRun(CallbackInfo ci) {
ci.cancel();
}
}

View File

@ -47,4 +47,9 @@ public class ViaFabricPlusVLViaConfig extends VLViaConfig {
public int get1_13TabCompleteDelay() {
return 5;
}
@Override
public boolean isSimulatePlayerTick() {
return false;
}
}

View File

@ -167,7 +167,6 @@
"fixes.viaversion.protocol1_9to1_8.MixinEntityPackets_6_1",
"fixes.viaversion.protocol1_9to1_8.MixinEntityTracker1_9",
"fixes.viaversion.protocol1_9to1_8.MixinMetadataRewriter1_9To1_8",
"fixes.viaversion.protocol1_9to1_8.MixinViaIdleThread",
"fixes.authlib.MixinYggdrasilUserApiService",
"jsonwebtoken.MixinClasses",
"jsonwebtoken.MixinDefaultJwtParserBuilder"