Commit 6662d63
committed
Add validation for den coordinate arrays
Validate that all den location coordinates have exactly 3 elements (X, Y, Z) when loading from JSON. Prevents IndexOutOfRangeException crashes if coordinate data is corrupted. Fails fast with clear error message instead of cryptic runtime crash.1 parent 1c21d81 commit 6662d63
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4071 | 4071 | | |
4072 | 4072 | | |
4073 | 4073 | | |
4074 | | - | |
| 4074 | + | |
| 4075 | + | |
| 4076 | + | |
| 4077 | + | |
| 4078 | + | |
| 4079 | + | |
| 4080 | + | |
| 4081 | + | |
| 4082 | + | |
| 4083 | + | |
| 4084 | + | |
| 4085 | + | |
| 4086 | + | |
4075 | 4087 | | |
4076 | 4088 | | |
4077 | 4089 | | |
| |||
0 commit comments