mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 04:39:32 +00:00
Try to fix NPE on Chi Passive
This commit is contained in:
parent
a9d00df52d
commit
95ab22a554
Binary file not shown.
|
@ -53,6 +53,7 @@ public class ChiPassive {
|
||||||
}
|
}
|
||||||
for (String s: BendingPlayer.blockedChi.keySet()) {
|
for (String s: BendingPlayer.blockedChi.keySet()) {
|
||||||
if (!(BendingPlayer.blockedChi.get(s) + duration >= System.currentTimeMillis())) {
|
if (!(BendingPlayer.blockedChi.get(s) + duration >= System.currentTimeMillis())) {
|
||||||
|
if (Methods.getBendingPlayer(s) == null) continue;
|
||||||
Methods.getBendingPlayer(s).unblockChi();
|
Methods.getBendingPlayer(s).unblockChi();
|
||||||
}
|
}
|
||||||
// if (BendingPlayer.blockedChi.contains(player.getName())) {
|
// if (BendingPlayer.blockedChi.contains(player.getName())) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: ProjectKorra
|
name: ProjectKorra
|
||||||
author: ProjectKorra
|
author: ProjectKorra
|
||||||
version: 1.2.0 BETA 9
|
version: 1.2.0 BETA 10
|
||||||
main: com.projectkorra.ProjectKorra.ProjectKorra
|
main: com.projectkorra.ProjectKorra.ProjectKorra
|
||||||
commands:
|
commands:
|
||||||
projectkorra:
|
projectkorra:
|
||||||
|
|
Loading…
Reference in a new issue