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";