removed tps sync (in meteor)
This commit is contained in:
@@ -40,7 +40,6 @@ public class MeteorRejectsAddon extends MeteorAddon {
|
|||||||
modules.add(new SkeletonESP());
|
modules.add(new SkeletonESP());
|
||||||
modules.add(new Sneak());
|
modules.add(new Sneak());
|
||||||
modules.add(new SoundLocator());
|
modules.add(new SoundLocator());
|
||||||
modules.add(new TPSSync());
|
|
||||||
|
|
||||||
Commands commands = Commands.get();
|
Commands commands = Commands.get();
|
||||||
commands.add(new AntiAntiXrayCommand());
|
commands.add(new AntiAntiXrayCommand());
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
package cloudburst.rejects.modules;
|
|
||||||
|
|
||||||
import cloudburst.rejects.MeteorRejectsAddon;
|
|
||||||
import meteordevelopment.orbit.EventHandler;
|
|
||||||
import minegame159.meteorclient.events.world.TickEvent;
|
|
||||||
import minegame159.meteorclient.systems.modules.Categories;
|
|
||||||
import minegame159.meteorclient.systems.modules.Module;
|
|
||||||
import minegame159.meteorclient.systems.modules.Modules;
|
|
||||||
import minegame159.meteorclient.systems.modules.world.Timer;
|
|
||||||
import minegame159.meteorclient.utils.world.TickRate;
|
|
||||||
|
|
||||||
public class TPSSync extends Module {
|
|
||||||
public TPSSync() {
|
|
||||||
super(MeteorRejectsAddon.CATEGORY, "tps-sync", "Attemps to sync client tickrate with server's");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onDeactivate() {
|
|
||||||
Timer timer = Modules.get().get(Timer.class);
|
|
||||||
timer.setOverride(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
@EventHandler
|
|
||||||
private void onTick(TickEvent.Post event) {
|
|
||||||
Timer timer = Modules.get().get(Timer.class);
|
|
||||||
timer.setOverride(Math.max(TickRate.INSTANCE.getTickRate(), 1) / 20); // prevent client just dying alongside with server
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user