Commit Graph

5 Commits

Author SHA1 Message Date
NichtStudioCode
659e9596fc Bump version 2023-10-12 16:06:41 +02:00
NichtStudioCode
f12ccf6fc8 Reformat code 2023-10-12 16:06:22 +02:00
NichtStudioCode
785854f4a8 Remove ItemUtils#setSkullGameProfile
Because both Paper 1.14.4 and 1.15.0 are not up-to-date with the changes of Spigot 1.14.4 (CraftMetaSkull#setProfile exists on Spigot 1.14.4, but not Paper 1.14.4 and 1.15.0), it does not make sense to put this behind inventory-access revisions. Instead, the SkullBuilder will now just check every time whether CraftMetaSkull#setProfile exists.
2023-10-12 16:02:35 +02:00
NichtStudioCode
be09c8621c Bump version 2023-10-12 10:31:14 +02:00
NichtStudioCode
babad46e84 Fix several incompatibilities with 1.14
This commit introduces support for 1.14.0, 1.14.1, 1.14.2 and 1.14.3 with the new inventory-access-r1 and inventory-access-r2 modules. All subsequent revisions have been pushed down by two versions. (ex.: inventory-access-r15 is inventory-access-r17 now)

Other changes include:
- Introduced ItemUtils#setSkullGameProfile inventory-access method
- Removed all usages of fastutil classes, as those are relocated to a different path on older versions and therefore not accessible
- Removed all usages of Material#isAir and ClickType#SWAP_OFFHAND, as those did not exist in 1.14
- invui-core now depends on spigot 1.14 instead of 1.20.2. This should prevent any future issues regarding the usage of methods and properties that have only been introduced later
2023-10-12 10:30:18 +02:00