Skip to content
Permalink
Browse files

improve split tag meta

  • Loading branch information...
mcmonkey4eva committed Mar 25, 2019
1 parent 791e6fd commit 913022646bc49da70a433f6589569f079d2aafaa
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/main/java/net/aufdemrand/denizencore/objects/Element.java
@@ -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) : " ");
@@ -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) : " ");

0 comments on commit 9130226

Please sign in to comment.
You can’t perform that action at this time.