From 70759bc0e34e30ecdff0c2c24ba5aeea3bd60ba6 Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Mon, 29 Jul 2024 12:45:29 +0200 Subject: [PATCH] Shows animation to players within 16 blocks --- .../net/knarcraft/blacksmithvisuals/BlacksmithListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/knarcraft/blacksmithvisuals/BlacksmithListener.java b/src/main/java/net/knarcraft/blacksmithvisuals/BlacksmithListener.java index 794169c..c2a2e88 100644 --- a/src/main/java/net/knarcraft/blacksmithvisuals/BlacksmithListener.java +++ b/src/main/java/net/knarcraft/blacksmithvisuals/BlacksmithListener.java @@ -93,7 +93,7 @@ public class BlacksmithListener implements Listener { return; } - List nearby = event.getNpc().getEntity().getNearbyEntities(10, 10, 5); + List nearby = event.getNpc().getEntity().getNearbyEntities(16, 16, 5); nearby.removeIf((entity) -> !(entity instanceof Player)); this.playWorkSound(event.getNpc().getEntity());