Skip to content
Success

Changes

Summary

  1. Add support for Horse inventories (#2558) (commit: 74f28ba) (details)
Commit 74f28ba132584b11b5b85c6cf7a70ea4e752b329 by noreply
Add support for Horse inventories (#2558)

* Can now open horse inventory

Command still needs testing and needs to be updated to use `autoExecute`

* Update command to use `autoExecute`

* Move errors and fix slot default value

* Change order of types

`public static` sounds better than `static public` in my opinion

* Fix `expire:` argument throwing an error when it shouldn't

* Cast to `CraftAbstractHorse` and throw exception to prevent NPE

* Update error messages
(commit: 74f28ba)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/commands/item/InventoryCommand.java (diff)
The file was modifiedv1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/helpers/EntityHelperImpl.java (diff)
The file was modifiedv1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/helpers/EntityHelperImpl.java (diff)
The file was modifiedv1_20/src/main/java/com/denizenscript/denizen/nms/v1_20/helpers/EntityHelperImpl.java (diff)
The file was modifiedv1_17/src/main/java/com/denizenscript/denizen/nms/v1_17/helpers/EntityHelperImpl.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/nms/interfaces/EntityHelper.java (diff)