Prevent NPE

I haven't tested this, so I don't know if it's an actual fix, or even needed. Apparently, calling hasBar(Player) is throwing an NPE.
http://i.imgur.com/i4VCufC.png Line 316 according to GitHub is the trailing }, yet in jd-gui, it's the line I just changed.