Need a little help.

Discussion in 'Spigot Plugin Development' started by Triptychplaysmc, May 6, 2015.

Thread Status:
Not open for further replies.
  1. Hello spigot community i been trying to fix one of my main projects that broke on the 1.8 update for sometime now and i'm on the last class that has an error and i can't seem to figure out what to do.

    the error is.

    ambiguous method call. both
    getTargetBlock (HashSet<Byte>, int) in LivingEntity and
    getTargetBlock (Set<Material>, int) in LivingEntity match

    Heres the screenshots:
    [​IMG]

    [​IMG]
     
  2. You can either cast it to a HashSet<Byte> or Set<Material>, or create an empty HashSet<Byte> or Set<Material>
     
Thread Status:
Not open for further replies.