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

Merged
merged 1 commit into from Aug 3, 2017

Conversation

Projects
None yet
2 participants
@md678685
Member

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.

@kashike

kashike approved these changes Aug 3, 2017

@md678685

This comment has been minimized.

Show comment Hide comment
@md678685

md678685 Aug 3, 2017

Member

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.

Member

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

Closed

PlayerInteractEvent #1433

@md678685 md678685 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