From 96e4136f3df0a9c5c398ac965645dcdb4c07d97e Mon Sep 17 00:00:00 2001 From: Dumbo52 Date: Sun, 22 Mar 2015 00:47:56 -0400 Subject: [PATCH] Limit /allow-portal raytrace distance. --- src/nu/nerd/kitchensink/KitchenSink.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nu/nerd/kitchensink/KitchenSink.java b/src/nu/nerd/kitchensink/KitchenSink.java index 5715fe5..5d13d01 100644 --- a/src/nu/nerd/kitchensink/KitchenSink.java +++ b/src/nu/nerd/kitchensink/KitchenSink.java @@ -1139,7 +1139,7 @@ public String dictFormat(String format, Hashtable values) { } public static Block getTargetBlock(LivingEntity entity) { - BlockIterator iterator = new BlockIterator(entity.getLocation(), entity.getEyeHeight()); + BlockIterator iterator = new BlockIterator(entity.getLocation(), entity.getEyeHeight(), 20); Block result; while (iterator.hasNext()) { result = iterator.next();