Stained Glass Pane

Discussion in 'Plugin Development' started by ank1ish, Mar 12, 2022.

Thread Status:
Not open for further replies.
  1. Offline

    ank1ish

    Guys I am getting error when using
    ItemStack puste = new ItemStack(Material.YELLOW_STAINED_GLASS_PANE, 1);

    I am using 1.18 API with 1.8.8 Paper, already tried STAINED_GLASS_PANE, amount, short etc.
    Sorry for my bad English.
     
  2. Online

    timtower Administrator Administrator Moderator

    @ank1ish Why don't your api version and server version match?
     
  3. Offline

    ank1ish

    @timtower it's not possible in Intellij Idea, there is 1.12+ but I use 1.8.8 paper

    EDIT: changed the api version to 1.8, glass still not working tho

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Mar 13, 2022
  4. Online

    timtower Administrator Administrator Moderator

    Whatvis the new code?
     
Thread Status:
Not open for further replies.

Share This Page