mirror of
https://github.com/Jikoo/OpenInv.git
synced 2026-11-04 16:50:04 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e26c33311 | ||
|
|
34f5319f48 | ||
|
|
642e287507 |
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Project meta
|
||||
group=com.lishid.openinv
|
||||
version=5.1.12
|
||||
version=5.1.13
|
||||
description=A Bukkit plugin for opening normally-inaccessible inventories.
|
||||
|
||||
# Gradle configuration
|
||||
|
||||
@@ -33,7 +33,7 @@ dependencies {
|
||||
implementation(project(":openinvapi"))
|
||||
implementation(project(":openinvcommon"))
|
||||
|
||||
paperweight.paperDevBundle("1.21.7-R0.1-SNAPSHOT")
|
||||
paperweight.paperDevBundle("1.21.8-R0.1-SNAPSHOT")
|
||||
}
|
||||
|
||||
val spigot = tasks.register<ShadowJar>("spigotRelocations") {
|
||||
|
||||
@@ -10,7 +10,7 @@ plugins {
|
||||
apply<SpigotSetup>()
|
||||
apply<SpigotReobf>()
|
||||
|
||||
val spigotVer = "1.21.7-R0.1-SNAPSHOT"
|
||||
val spigotVer = "1.21.8-R0.1-SNAPSHOT"
|
||||
// Used by common adapter to relocate Craftbukkit classes to a versioned package.
|
||||
rootProject.extra["craftbukkitPackage"] = "v1_21_R5"
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ public class InternalAccessor {
|
||||
}
|
||||
|
||||
private @Nullable Accessor getAccessor(@NotNull Logger logger, @NotNull LanguageManager lang) {
|
||||
Version maxSupported = Version.of(1, 21, 7);
|
||||
Version maxSupported = Version.of(1, 21, 8);
|
||||
Version minSupported = Version.of(1, 21, 1);
|
||||
|
||||
// Ensure version is in supported range.
|
||||
@@ -74,7 +74,7 @@ public class InternalAccessor {
|
||||
|
||||
// Load Spigot accessor.
|
||||
if (!PAPER) {
|
||||
if (BukkitVersions.MINECRAFT.equals(maxSupported)) {
|
||||
if (BukkitVersions.MINECRAFT.equals(maxSupported) || BukkitVersions.MINECRAFT.equals(Version.of(1, 21, 7))) {
|
||||
// Current Spigot, remapped internals are available.
|
||||
return new com.lishid.openinv.internal.reobf.InternalAccessor(logger, lang);
|
||||
} else {
|
||||
@@ -85,7 +85,7 @@ public class InternalAccessor {
|
||||
|
||||
// Paper or a Paper fork, can use Mojang-mapped internals.
|
||||
if (BukkitVersions.MINECRAFT.lessThanOrEqual(maxSupported)
|
||||
&& BukkitVersions.MINECRAFT.greaterThanOrEqual(Version.of(1, 21, 6))) { // 1.21.6, 1.21.7
|
||||
&& BukkitVersions.MINECRAFT.greaterThanOrEqual(Version.of(1, 21, 6))) { // 1.21.6, 1.21.7, 1.21.8
|
||||
return new com.lishid.openinv.internal.common.InternalAccessor(logger, lang);
|
||||
}
|
||||
if (BukkitVersions.MINECRAFT.equals(Version.of(1, 21, 5))) { // 1.21.5
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
"pack": {
|
||||
"description": "Improve OpenInv's legibility",
|
||||
"pack_format": 55,
|
||||
"supported_formats": [ 34, 81 ]
|
||||
"supported_formats": [ 34, 64 ]
|
||||
},
|
||||
"overlays": {
|
||||
"entries": [
|
||||
{
|
||||
"formats": [ 44, 81 ],
|
||||
"formats": [ 44, 64 ],
|
||||
"directory": "openinv_44"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user