public static void setLeggings(HumanEntity human, ItemStack leggings) { if (human == null) return; setLeggings(human.getInventory(), leggings); }