IllegalArgumentException caused by hasFace method in Spigot API

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

      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

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

              Created:
              Updated:
              Resolved: