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

IllegalArgumentException caused by hasFace method in Spigot API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • with CraftBook version 3.10.2-SNAPSHOT;4586-0c3ad1c

    • git-Paper-240 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
    • Yes

      In this Issue for CraftBook I described the error.
      It seems that somewhere since org.bukkit.craftbukkit.v1_15_R1.block.impl.CraftVine.hasFace there might be the reason for this error.

      The call `vine.hasFace(test.getOppositeFace())` here guarantees that neither `vine` nor `test.getOppsiteFace()` can ever be null. It should be enough to read the 10 lines before.

      That's the reason why I think, there must be a bug within the Spigot API.

      CraftBook error

            Unassigned Unassigned
            kikelkik kikelkik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: