Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Aug 3, 2017

Conversation

mdcfe
Copy link
Member

@mdcfe mdcfe 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.

@mdcfe
Copy link
Member Author

mdcfe 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.

@mdcfe mdcfe mentioned this pull request Aug 3, 2017
@mdcfe mdcfe merged commit 7fbc721 into EssentialsX:2.x Aug 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants