(Entity aPlayer, TagData aType)
| 1249 | } |
| 1250 | |
| 1251 | public static ItemStack projectile(Entity aPlayer, TagData aType) {if (aPlayer instanceof EntityPlayer) return projectile(((EntityPlayer)aPlayer).inventory, aType); return null;} |
| 1252 | public static ItemStack projectile(IInventory aInv, TagData aType) { |
| 1253 | if (aInv != null) for (int i = 0, j = aInv.getSizeInventory(); i < j; i++) { |
| 1254 | ItemStack rStack = aInv.getStackInSlot(i); |
no test coverage detected