nossr50/mcMMO — Issue #182: Call of the Wild ability may be not respecting bone setting.
Author: huanga
Created: 2011-12-15 07:43:35+00:00
State: open

In com/gmail/nossr50/listeners/mcPlayerListener.java:

```
if(player.getItemInHand().getType() == Material.BONE && player.getItemInHand().getAmount() > 9)
```

The line should probably be written as this instead:

```
if(player.getItemInHand().getType() == Material.BONE && player.getItemInHand().getAmount() > LoadProperties.bonesConsumedByCOTW-1)
```

This way, if the admin wishes to shoot themselves in the foot with lesser than 10 bones, they will not require stack of 10 in hand.