Skip to content
Success

Changes

Summary

  1. CoreUtilities.parseIndex added and applied to ListTag.get (#77) (commit: 3357984) (details)
Commit 33579843facf83d0cc689b3ef0755b63c0ece18f by noreply
CoreUtilities.parseIndex added and applied to ListTag.get (#77)

* Adding CoreUtilities.parseIndex and updating ListTag.get to use it.

* Updated error handling

* Added explanations to descriptions

* Fixing list used in parseIndex call

* Formatting fixes for CoreUtilities

* Fixing based on feedback.

* Updating -1 to refer to last element in list, not second to last

* Description now accurately describes negative indices

* Changing supplied index of 0 to be an error state
(commit: 3357984)
The file was modifiedsrc/main/java/com/denizenscript/denizencore/objects/core/ListTag.java (diff)
The file was modifiedsrc/main/java/com/denizenscript/denizencore/utilities/CoreUtilities.java (diff)