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

EntityBreedEvent getEntity location inaccuracy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 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());
          }
      

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

              Created:
              Updated:
              Resolved: