mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Fixed killed entities not being removed from arrowTracker
This commit is contained in:
parent
3bc2f5dc55
commit
5a394ee744
@ -46,6 +46,7 @@ public class Archery {
|
|||||||
|
|
||||||
if (quantity != null) {
|
if (quantity != null) {
|
||||||
Misc.dropItems(entity.getLocation(), new ItemStack(Material.ARROW), quantity);
|
Misc.dropItems(entity.getLocation(), new ItemStack(Material.ARROW), quantity);
|
||||||
|
arrowTracker.remove(entity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user