Update InventoryGui to call player.updateInventory and bump version to 1.1.5-SNAPSHOT

This commit is contained in:
akastijn 2026-04-02 22:53:12 +02:00
parent 02f78d0a23
commit ed9dae0568
2 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,7 @@ val nexusUser = providers.gradleProperty("alttdSnapshotUsername").orNull ?: Syst
val nexusPass = providers.gradleProperty("alttdSnapshotPassword").orNull ?: System.getenv("NEXUS_PASSWORD") val nexusPass = providers.gradleProperty("alttdSnapshotPassword").orNull ?: System.getenv("NEXUS_PASSWORD")
group = "com.alttd.inventory_gui" group = "com.alttd.inventory_gui"
version = "1.1.4-SNAPSHOT" version = "1.1.5-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()

View File

@ -88,6 +88,9 @@ public class InventoryGui {
} }
Inventory inv = entry.inv(); Inventory inv = entry.inv();
render(inv); render(inv);
if (humanEntity instanceof Player player) {
player.updateInventory();
}
} }
/** /**