[SPIGOT-6872] Add `v1_18` for `ApiVersion.Target` plugin annotations Created: 27/Dec/21 Updated: 27/Dec/21 Resolved: 27/Dec/21 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Patryk Ludwikowski | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | API, spigot | ||
| Version: | This server is running Paper version git-Paper-19 (MC: 1.18) (Implementing API version 1.18-R0.1-SNAPSHOT) (Git: 892c292) |
| Guidelines Read: | Yes |
| Description |
|
Please add `v1_18` for `ApiVersion.Target` plugin annotations. Making constructor public would also be nice, in case anyone want to use some custom/new API version without waiting for update.
Example: |
| Comments |
| Comment by Doc [ 27/Dec/21 ] |
|
Currently have a PR for this. https://hub.spigotmc.org/stash/projects/SPIGOT/repos/plugin-annotations/pull-requests/9/overview |
| Comment by Phoenix616 [ 27/Dec/21 ] |
|
> Making constructor public would also be nice Just fyi: New Enums cannot be created at runtime so that wouldn't work. |