So Im triying to make a Switch statement that gets a Wool with the color, not only the white one, but I dont know how.
I tried this but its not working:
But its not working, it only works with case WOOL: but that is thw white one.
I tried this but its not working:
Code:
if(e.getInventory().getTitle().equalsIgnoreCase("GUI")) {
switch (e.getCurrentItem().getType()) {
case new ItemStack(Material.WOOL, 1, (byte) 5):
p.sendMessage("HELLO");
But its not working, it only works with case WOOL: but that is thw white one.
Banned forever. Reason: Scamming (https://builtbybit.com/threads/resource-scam-report.325273/)
