Soul Campfire BlockState cannot be cast to Campfire

XMLWordPrintable

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

      Minecraft 1.16.1 Spigot

    • git-Spigot-6f4ff1b-d424351
    • Yes

      I have a game mode in my plugin that causes campfires to explode when they're done cooking. I was hoping to extend this functionality to the Soul Campfire. Unfortunately, when I try to cast the blockstate of the Soul Campfire to org.bukkit.block.Campfire I get a ClassCastException. Please add functionality to either allow this cast or create a SoulCampfire BlockState that extends Campfire. Thanks

            Assignee:
            Unassigned
            Reporter:
            Connor Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: