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

      in Material.java

      Classes for the wood type gates are missing which causes
      ClassCastException: org.bukkit.material.MaterialData cannot be cast to org.bukkit.material.Gate
      if you want to check their state ( eg isOpen() )

      FENCE_GATE(107, Gate.class),

      is:
      SPRUCE_FENCE_GATE(183),
      BIRCH_FENCE_GATE(184),
      JUNGLE_FENCE_GATE(185),
      DARK_OAK_FENCE_GATE(186),
      ACACIA_FENCE_GATE(187),

      should:
      SPRUCE_FENCE_GATE(183, Gate.class),
      BIRCH_FENCE_GATE(184, Gate.class),
      JUNGLE_FENCE_GATE(185, Gate.class),
      DARK_OAK_FENCE_GATE(186, Gate.class),
      ACACIA_FENCE_GATE(187, Gate.class),

            Assignee:
            Thinkofname
            Reporter:
            Timo Hehnen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: