Jump to content

TheRealAssume

Members
  • Posts

    6
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by TheRealAssume

  1. if (ammo != null && ammo.getAmount() > 1) { ammoType = ammo.getName().toLowerCase().split(" ")[1]; isUsingRanged = true; } if (isUsingRanged) { Item item = getEquipment().getItemInSlot(EquipmentSlot.CAPE.slot); isAvasEquipped = item != null && (item.getName().contains("Ava's")); } What's the point of this code? There's no reason to have a check for isUsingRanged right after setting the value of isUsingRanged. Just put that code in the previous if statement.
  2. While I do consider imitation the highest form of flattery, I'd appreciate it if you didn't copy my thread word-for-word.
×
×
  • Create New...