Update InventoryGui to call player.updateInventory and bump version to 1.1.5-SNAPSHOT
This commit is contained in:
+1
-1
@@ -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()
|
||||||
|
|||||||
@@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user