[SPIGOT-93] org.bukkit.Rotation does not support all 8 rotations Created: 01/Dec/14 Updated: 02/Dec/14 Resolved: 02/Dec/14 |
|
| Status: | Closed |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Dykam | Assignee: | Thinkofname |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Description |
|
1.8 added the possibility to have 8 rotations (increments of 45 degrees). Before, the values 0-3 mapped the 4 primary directions, however this changed to 8 directions. org.bukkit.Rotation does not support this yet, and org.bukkit.craftbukkit.entity.CraftItemFrame#toBukkitRotation does currently not support it, as well as incorrectly transforming anything but Rotation.None. |
| Comments |
| Comment by Adam Thomas [ 01/Dec/14 ] |
|
Seems to be |
| Comment by Hex [ 01/Dec/14 ] |
|
Do you know how many classes support rotations? Is it just CraftItemFrame? |