mirror of
https://github.com/moparisthebest/MoparClassic
synced 2024-12-22 15:38:52 -05:00
Part of issue #67
This commit is contained in:
parent
1b8e848125
commit
150b0cb814
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user