-
Type:
Bug
-
Resolution: Won't Fix
-
None
-
Affects Version/s: None
Commit 9648edfa613 "Add alternatives for deprecated methods" added the method "public Block getTargetBlock(Set<Material> transparent, int maxDistance)". Before this commit, it was common to use getTargetBlock(null, 5) to get the block that a player is looking at. Now that code won't compile because of an ambiguous method call.