Fix ClassCastException while checking armor
Merge pull request #498 from ntwitch/ArmorCastFix

Fix ClassCastException while checking armor