Solved ItemStack in 1.14

Discussion in 'Plugin Development' started by skales65, May 3, 2019.

  1. Offline

    skales65

    Hey guys. I tried to create ItemStack in version 1.14.
    Code:
    Material m = Material.STONE;
    ItemStack stone = new ItemStack(m);
    It tells me that it needs IMaterial not Material and I don't know how to replace it.
    Anyone knows?
     
  2. Online

    timtower Ninja on the waves Moderator

    @skales65 What Itemstack did you import?
     
  3. Offline

    skales65

    Oh that one that starts with net. Now I see. It is stupid mistake.
    Thank you for your help and sorry for your time xD
     
    timtower likes this.

Share This Page