EntityBreedEvent getEntity location inaccuracy

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • This server is running CraftBukkit version git-Spigot-a19903d-bc6a175 (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT)
    • Yes

      When getting the Entity involved in the BreedEvent, its location is 0,0,0

      [06:21:26] [Server thread/WARN]: Location{world=CraftWorld{name=world},x=0.0,y=0.0,z=0.0,pitch=0.0,yaw=3.658442}

       

          @EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
          public void a(EntityBreedEvent event)
          {        
              Bukkit.getLogger().warning("" + event.getEntity().getLocation());
          }
      

            Assignee:
            Unassigned
            Reporter:
            HexedHero
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: