Commit 0f50371
committed
Normalize yaw for set_spawn() location argument
Upon upgrading to 1.21.9+, Minecraft will fail to convert spawn data with a spawn angle not normalized from -180 to 180, and will instead set spawn data (including coordinates) to zeroes. This only affects worlds that were set with a yaw above 180 using the new location array format added to set_spawn() in August.1 parent 81a0c3c commit 0f50371
File tree
1 file changed
+3
-1
lines changed- src/main/java/com/laytonsmith/abstraction/bukkit
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
515 | 517 | | |
516 | 518 | | |
517 | 519 | | |
| |||
0 commit comments