Part of issue #67

This commit is contained in:
Nemesis- 2012-05-08 19:51:54 +03:00
parent 1b8e848125
commit 150b0cb814

View File

@ -92,7 +92,7 @@ public class RangeEvent extends DelayedEvent {
}
boolean xbow = DataConversions.inArray(Formulae.xbowIDs, bowID);
int arrowID = -1;
for (int aID : (xbow ? Formulae.boltIDs : Formulae.arrowIDs)) {
for (int aID : (xbow ? Formulae.getBoltIDs() : Formulae.getArrowIDs())) {
int slot = owner.getInventory().getLastIndexById(aID);
if (slot < 0) {
continue;