.isInverted() gives false for upside-down corner stairs

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      server version = Paper-624

      api version = 1.13.2-R0.1-SNAPSHOT

    • Spigot 1.13.2
    • Yes

      Here is what I mean by "upside-down corner stairs": https://i.imgur.com/viiDkAa.png

       

      When I get some information from an upside-down corner stair with block.getBlockData().getAsString(), it correctly says "half=top."

      When I do ((org.bukkit.material.Stairs)block.getState().getData()).isInverted(), it incorrectly gives false.

       

      Here's an image where I sent messages to my player with information about an upside-down corner stairs block. Notice "half=top" and "inverted = false." Inverted should be true since the corner stairs was upside-down. https://i.imgur.com/ByQvpOm.png

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

              Created:
              Updated:
              Resolved: