rmct / AutoReferee

Bukkit plugin for automatically refereeing competitive Minecraft matches.
http://rmct.github.com/AutoReferee
GNU General Public License v3.0
35 stars 19 forks source link

Added a check to handle null items in armor slots (fix for v1.10) #244

Closed asleeponduty closed 8 years ago

asleeponduty commented 8 years ago

This null-check fixes a NPE bug in the ArmorPoints calculation code. In version 1.10, this causes a NPE due to empty item slots behaving differently.

As a result of this bug, players were unable to join teams.

net commented 8 years ago

Thank you! 🎉