Shows animation to players within 16 blocks
All checks were successful
KnarCraft/BlacksmithVisuals/pipeline/head This commit looks good
All checks were successful
KnarCraft/BlacksmithVisuals/pipeline/head This commit looks good
This commit is contained in:
parent
f574d98ba5
commit
70759bc0e3
@ -93,7 +93,7 @@ public class BlacksmithListener implements Listener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
List<Entity> nearby = event.getNpc().getEntity().getNearbyEntities(10, 10, 5);
|
List<Entity> nearby = event.getNpc().getEntity().getNearbyEntities(16, 16, 5);
|
||||||
nearby.removeIf((entity) -> !(entity instanceof Player));
|
nearby.removeIf((entity) -> !(entity instanceof Player));
|
||||||
|
|
||||||
this.playWorkSound(event.getNpc().getEntity());
|
this.playWorkSound(event.getNpc().getEntity());
|
||||||
|
Loading…
Reference in New Issue
Block a user