Commit 5be4eb8
committed
Fix for null players, i.e., minions at end of phase.
If a minion broke the block at the end of the phase, the NPEs would
occur as the newer code to check requirements and do placeholders was
assuming a real player. This change protects that. Note that minions
cannot be used to progress past a phase if there are any restrictions on
the level change.1 parent a0a69b6 commit 5be4eb8
File tree
1 file changed
+6
-1
lines changed- src/main/java/world/bentobox/aoneblock/listeners
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
| |||
206 | 210 | | |
207 | 211 | | |
208 | 212 | | |
209 | | - | |
| 213 | + | |
| 214 | + | |
210 | 215 | | |
211 | 216 | | |
212 | 217 | | |
| |||
0 commit comments