fix(pocket-base): clear fall distance after portal travel
Release / release (push) Successful in 3m9s
CI / build (push) Successful in 1m27s

This commit is contained in:
dmg
2026-08-28 23:50:08 -04:00
parent bc2f9d8e25
commit 02c6698268
4 changed files with 40 additions and 0 deletions
@@ -289,6 +289,7 @@ final class PocketBaseController implements Listener, Runnable {
private void teleport(Entity entity, Location destination) {
cooldownUntil.put(entity.getUniqueId(), System.nanoTime() + PORTAL_COOLDOWN_NANOS);
entity.setFallDistance(0.0F);
entity.teleport(destination, PlayerTeleportEvent.TeleportCause.PLUGIN);
}