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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • None
    • 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

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

              Created:
              Updated:
              Resolved: