Skip to content

Commit

Permalink
Limit /allow-portal raytrace distance.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dumbo52 committed Mar 22, 2015
1 parent 222fe60 commit 96e4136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nu/nerd/kitchensink/KitchenSink.java
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ public String dictFormat(String format, Hashtable<String, Object> 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();
Expand Down

0 comments on commit 96e4136

Please sign in to comment.