Skip to content

Commit d400919

Browse files
committed
Count setting air as making changes for draw pane event
1 parent eb2c5f6 commit d400919

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ val javaVersion: Int = 21
1515

1616
allprojects {
1717
group = "com.noxcrew.interfaces"
18-
version = "1.1.8-SNAPSHOT"
18+
version = "1.1.9-SNAPSHOT"
1919

2020
tasks.withType<JavaCompile> {
2121
sourceCompatibility = javaVersion.toString()

interfaces/src/main/kotlin/com/noxcrew/interfaces/view/AbstractInterfaceView.kt

+1
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ public abstract class AbstractInterfaceView<I : InterfacesInventory, P : Pane>(
317317
val isPlayerInventory = currentInventory.isPlayerInventory(row, column)
318318
if ((!drawNormalInventory && !isPlayerInventory) || (!drawPlayerInventory && isPlayerInventory)) continue
319319
currentInventory.set(row, column, ItemStack(Material.AIR))
320+
madeChanges = true
320321
}
321322
}
322323

0 commit comments

Comments
 (0)