https://pastebin.com/UHN3AAES
How do i down at "if (is.getItemMeta())" find out which color the stained glass is.
I want to check if the "is.getData.whatever is == BrainStain"
ItemStack BlackStain = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte)15);
^^^This itemstack is a black stained glass, and I want to check that if it isn't a black stained glass, then it's not supposted to run the code.
How do i down at "if (is.getItemMeta())" find out which color the stained glass is.
I want to check if the "is.getData.whatever is == BrainStain"
ItemStack BlackStain = new ItemStack(Material.STAINED_GLASS_PANE, 1, (byte)15);
^^^This itemstack is a black stained glass, and I want to check that if it isn't a black stained glass, then it's not supposted to run the code.