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

Soul Campfire BlockState cannot be cast to Campfire

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • 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

            Unassigned Unassigned
            cksmith51@gmail.com Connor Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: