Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix usage of deprecated getTargetBlock (fixes #1433) #1435

merged 1 commit into from Aug 3, 2017


2 participants

md678685 commented Aug 3, 2017

Fixes use of the LivingEntity#getTargetBlock(HashSet<Byte>, int), replacing it with LivingEntity#getTargetBlock(HashSet<Material>, int) which is still supported by Spigot 1.12.1. Fixes #1433.


md678685 commented Aug 3, 2017

This test build should fix the issue - if others could test the linked version as well to confirm that the issue is fixed it would be appreciated.

@md678685 md678685 referenced this pull request Aug 3, 2017


PlayerInteractEvent #1433

@md678685 md678685 merged commit 7fbc721 into drtshock:2.x Aug 3, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment