Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6909

Falling distance == 0.0 at EntityChangeBlockEvent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Linux pi-network 5.4.79-v7l+ #1373 SMP Mon Nov 23 13:27:40 GMT 2020 armv7l GNU/Linux

      JDK 8 build 271

    • CraftBukkit version 3096a-Spigot-9fb885e-af1a232 (MC: 1.16.5)
    • Yes

      The title speaks for itself :

      At EntityChangeBlockEvent, in my case a falling block, I get 0.0 on the method Entity#getFallDistance instead of the real distance.

       

      [01:26:45] [Server thread/INFO]: [RandomTweaks] Falling distance (Entity#getFallDistance): 0.0
      [01:26:45] [Server thread/INFO]: [RandomTweaks] Falling distance (My trick): 14.0

            Unassigned Unassigned
            N4TH4NOT Nathan Dev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: