Skip to content
This repository has been archived by the owner on Oct 24, 2020. It is now read-only.

Detection for heads (Other than player) #30

Closed
boddahburnout opened this issue Aug 17, 2020 · 0 comments
Closed

Detection for heads (Other than player) #30

boddahburnout opened this issue Aug 17, 2020 · 0 comments

Comments

@boddahburnout
Copy link

Currently line 39 of ArmorType doesn't account for heads other then player, ie dragon head preventing the event from firing. Changing

if(type.endsWith("_HELMET") || type.endsWith("_SKULL") || type.endsWith("PLAYER_HEAD")) return HELMET;

To

if(type.endsWith("_HELMET") || type.endsWith("_SKULL") || type.endsWith("_HEAD")) return HELMET;

Solves this issue

@Arnuh Arnuh closed this as completed in 7b0f9e3 Aug 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant