fix respawning with packetfly on
All checks were successful
/ Build BaseBand (push) Successful in 2m33s
All checks were successful
/ Build BaseBand (push) Successful in 2m33s
This commit is contained in:
parent
f8ad1c48eb
commit
0921db6c28
1 changed files with 6 additions and 0 deletions
|
@ -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.Listen;
|
||||||
import de.com.baseband.client.event.events.MoveEvent;
|
import de.com.baseband.client.event.events.MoveEvent;
|
||||||
import de.com.baseband.client.event.events.PacketEvent;
|
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.Feature;
|
||||||
import de.com.baseband.client.feature.category.Experimental;
|
import de.com.baseband.client.feature.category.Experimental;
|
||||||
import de.com.baseband.client.feature.modules.render.HUD;
|
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
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "PacketFly";
|
return "PacketFly";
|
||||||
|
|
Loading…
Add table
Reference in a new issue