Fix 1.20 Baus

This commit is contained in:
Lixfel
2024-12-01 19:57:59 +01:00
parent a4d5850555
commit 851904beac
4 changed files with 2 additions and 15 deletions
+1 -6
View File
@@ -35,12 +35,7 @@ dependencies {
annotationProcessor(libs.classindex)
compileOnly(project(":SpigotCore", "default"))
compileOnly(libs.paperapi21) {
attributes {
// Very Hacky, but it works
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 21)
}
}
compileOnly(libs.spigotapi)
compileOnly(libs.axiom)
compileOnly(libs.authlib)
compileOnly(libs.viaapi)
@@ -70,7 +70,7 @@ public abstract class SimulatorBaseGui {
return;
}
TrickyTrialsWrapper.impl.closeInventoryView(player.getOpenInventory());
player.closeInventory();
inventory = new SWInventory(player, () -> {
inv = Bukkit.createInventory(null, size, title());