Skip to content

Commit

Permalink
Reduce objective to player range to 2 blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
totemo committed Aug 4, 2017
1 parent 409ccca commit 219b201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nu/nerd/beastmaster/objectives/Objective.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public boolean isAlive() {
_objectiveType.getParticleRadius(),
_objectiveType.getParticleRadius(), data);

for (Entity entity : _location.getWorld().getNearbyEntities(_location, 5, 5, 5)) {
for (Entity entity : _location.getWorld().getNearbyEntities(_location, 2, 2, 2)) {
if (entity instanceof Player) {
spawnLoot((Player) entity);
return false;
Expand Down

0 comments on commit 219b201

Please sign in to comment.