Update InventoryGui to call player.updateInventory and bump version to 1.1.5-SNAPSHOT
This commit is contained in:
parent
02f78d0a23
commit
ed9dae0568
|
|
@ -9,7 +9,7 @@ val nexusUser = providers.gradleProperty("alttdSnapshotUsername").orNull ?: Syst
|
|||
val nexusPass = providers.gradleProperty("alttdSnapshotPassword").orNull ?: System.getenv("NEXUS_PASSWORD")
|
||||
|
||||
group = "com.alttd.inventory_gui"
|
||||
version = "1.1.4-SNAPSHOT"
|
||||
version = "1.1.5-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
|
|
|||
|
|
@ -88,6 +88,9 @@ public class InventoryGui {
|
|||
}
|
||||
Inventory inv = entry.inv();
|
||||
render(inv);
|
||||
if (humanEntity instanceof Player player) {
|
||||
player.updateInventory();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user