Try to fix NPE on Chi Passive

This commit is contained in:
MistPhizzle 2014-07-12 19:16:13 -04:00
parent a9d00df52d
commit 95ab22a554
3 changed files with 2 additions and 1 deletions

Binary file not shown.

View file

@ -53,6 +53,7 @@ public class ChiPassive {
}
for (String s: BendingPlayer.blockedChi.keySet()) {
if (!(BendingPlayer.blockedChi.get(s) + duration >= System.currentTimeMillis())) {
if (Methods.getBendingPlayer(s) == null) continue;
Methods.getBendingPlayer(s).unblockChi();
}
// if (BendingPlayer.blockedChi.contains(player.getName())) {

View file

@ -1,6 +1,6 @@
name: ProjectKorra
author: ProjectKorra
version: 1.2.0 BETA 9
version: 1.2.0 BETA 10
main: com.projectkorra.ProjectKorra.ProjectKorra
commands:
projectkorra: