Skip to content

Commit

Permalink
improve split tag meta
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Mar 25, 2019
1 parent 791e6fd commit 9130226
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/net/aufdemrand/denizencore/objects/Element.java
Expand Up @@ -2504,6 +2504,7 @@ public dObject getObjectAttribute(Attribute attribute) {
// @description
// Returns a list of portions of this element, split by the specified string,
// and capped at the specified number of max list items.
// If a split string is unspecified, splits by space.
// -->
if (attribute.startsWith("split") && attribute.startsWith("limit", 2)) {
String split_string = (attribute.hasContext(1) ? attribute.getContext(1) : " ");
Expand All @@ -2524,6 +2525,7 @@ public dObject getObjectAttribute(Attribute attribute) {
// @group string manipulation
// @description
// Returns a list of portions of this element, split by the specified string.
// If a split string is unspecified, splits by space.
// -->
if (attribute.startsWith("split")) {
String split_string = (attribute.hasContext(1) ? attribute.getContext(1) : " ");
Expand Down

0 comments on commit 9130226

Please sign in to comment.