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

NPE occurs when calling BlockData#.getHalf()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None
    • Java 8

      Windows 7

    • This server is running CraftBukkit version git-Spigot-a85f7ec-5 870145 (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT)

      NPE occurs when calling BlockData#.getHalf()

      Caused by: java.lang.IllegalArgumentException: value already present: TOP
      at com.google.common.collect.HashBiMap.put(HashBiMap.java:287) ~[X.jar:g
      it-Spigot-a85f7ec-5870145]
      at com.google.common.collect.HashBiMap.put(HashBiMap.java:262) ~[X.jar:g
      it-Spigot-a85f7ec-5870145]
      at org.bukkit.craftbukkit.v1_13_R1.block.data.CraftBlockData.toBukkit(Cr
      aftBlockData.java:114) ~[X.jar:git-Spigot-a85f7ec-5870145]
      at org.bukkit.craftbukkit.v1_13_R1.block.data.CraftBlockData.get(CraftBl
      ockData.java:57) ~[X.jar:git-Spigot-a85f7ec-5870145]
      at org.bukkit.craftbukkit.v1_13_R1.block.impl.CraftStairs.getHalf(CraftS
      tairs.java:36) ~[X.jar:git-Spigot-a85f7ec-5870145]

       

      Also make sure you include the full output of /version in your report. Please copy and paste this statement to the bottom of your report to indicate that you have read and understood it.

            Unassigned Unassigned
            Ozicks Troy Osborne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: