Skip to content

Commit 3582073

Browse files
committed
Compile with Paper 1.21.4
1 parent 3fa3cf8 commit 3582073

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ subprojects {
3131
apply<IndraPublishingPlugin>()
3232
}
3333

34+
java {
35+
disableAutoTargetJvm()
36+
}
37+
3438
repositories {
3539
mavenCentral()
3640
sonatype.snapshots()

gradle/libs.versions.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ versions = {
2121
guava = "21.0"
2222

2323
# Minecraft
24-
adventure-core = "4.8.1"
25-
paper-api = "1.19.2-R0.1-SNAPSHOT"
24+
adventure-core = "4.24.0"
25+
paper-api = "1.21.4-R0.1-SNAPSHOT"
2626
}
2727

2828
dependencies = {

next/src/main/kotlin/org/incendo/interfaces/next/view/PlayerInterfaceView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class PlayerInterfaceView internal constructor(
4141
if (player.openInventory.topInventory.type == InventoryType.CRAFTING) {
4242
player.openInventory.topInventory.clear()
4343
}
44-
player.openInventory.cursor = null
44+
player.openInventory.setCursor(null)
4545

4646
// Trigger onOpen manually because there is no real inventory being opened,
4747
// this will also re-draw the player inventory parts!

0 commit comments

Comments
 (0)