(EntityArrow arrow)
| 68 | } |
| 69 | |
| 70 | public static ItemStack getArrowStack(EntityArrow arrow) { |
| 71 | // FIXME: Replace this with an invocation of arrow.getArrowStack |
| 72 | // (but its protected so we can't) |
| 73 | if (arrow instanceof EntitySpectralArrow) { |
| 74 | return new ItemStack(Items.SPECTRAL_ARROW); |
| 75 | } |
| 76 | return new ItemStack(Items.ARROW); |
| 77 | } |
| 78 | } |