From 0921db6c28ded002111e2d704d46ac07bd12f025 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sat, 5 Oct 2024 05:50:56 +0200 Subject: [PATCH] fix respawning with packetfly on --- .../baseband/client/feature/modules/movement/PacketFly.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Client/src/main/java/de/com/baseband/client/feature/modules/movement/PacketFly.java b/Client/src/main/java/de/com/baseband/client/feature/modules/movement/PacketFly.java index ef97e67..f94397b 100644 --- a/Client/src/main/java/de/com/baseband/client/feature/modules/movement/PacketFly.java +++ b/Client/src/main/java/de/com/baseband/client/feature/modules/movement/PacketFly.java @@ -3,6 +3,7 @@ package de.com.baseband.client.feature.modules.movement; import de.com.baseband.client.event.Listen; import de.com.baseband.client.event.events.MoveEvent; import de.com.baseband.client.event.events.PacketEvent; +import de.com.baseband.client.event.events.PlayerDestroyEvent; import de.com.baseband.client.feature.Feature; import de.com.baseband.client.feature.category.Experimental; import de.com.baseband.client.feature.modules.render.HUD; @@ -155,6 +156,11 @@ public class PacketFly extends Feature { } } + @Listen + public void onPlayerDestroy(PlayerDestroyEvent event) { + moving = false; + } + @Override public String toString() { return "PacketFly";