The top two lines need moved over still, it should be something like:

```java
    if (wcfg.disableArrowShooting && event.getItem().getTypeId() == ItemID.ARROW) {
        event.setCancelled(true);
    } 
}
```