mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2025-02-13 01:11:27 +01:00
Remove unused mixin class
This commit is contained in:
parent
d6c8501fa9
commit
6e8bfa6060
@ -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();
|
|
||||||
}
|
|
||||||
}
|
|
@ -47,4 +47,9 @@ public class ViaFabricPlusVLViaConfig extends VLViaConfig {
|
|||||||
public int get1_13TabCompleteDelay() {
|
public int get1_13TabCompleteDelay() {
|
||||||
return 5;
|
return 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isSimulatePlayerTick() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -167,7 +167,6 @@
|
|||||||
"fixes.viaversion.protocol1_9to1_8.MixinEntityPackets_6_1",
|
"fixes.viaversion.protocol1_9to1_8.MixinEntityPackets_6_1",
|
||||||
"fixes.viaversion.protocol1_9to1_8.MixinEntityTracker1_9",
|
"fixes.viaversion.protocol1_9to1_8.MixinEntityTracker1_9",
|
||||||
"fixes.viaversion.protocol1_9to1_8.MixinMetadataRewriter1_9To1_8",
|
"fixes.viaversion.protocol1_9to1_8.MixinMetadataRewriter1_9To1_8",
|
||||||
"fixes.viaversion.protocol1_9to1_8.MixinViaIdleThread",
|
|
||||||
"fixes.authlib.MixinYggdrasilUserApiService",
|
"fixes.authlib.MixinYggdrasilUserApiService",
|
||||||
"jsonwebtoken.MixinClasses",
|
"jsonwebtoken.MixinClasses",
|
||||||
"jsonwebtoken.MixinDefaultJwtParserBuilder"
|
"jsonwebtoken.MixinDefaultJwtParserBuilder"
|
||||||
|
Loading…
Reference in New Issue
Block a user