Syntax error on token `else` [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am very new to coding and I keep getting this error I really need help with it. This is my code: public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type){ if (stack.getItem() == halo.TitaniumHelmet || stack.getItem() == halo.TitaniumChestplate || stack.getItem() == halo