Falling distance == 0.0 at EntityChangeBlockEvent

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      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

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

              Created:
              Updated: