Skip to content

Commit

Permalink
fix duuid tag meta
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 21, 2019
1 parent 9e29c1a commit 43c3825
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,11 @@ else if (attribute.startsWith("uuid")) {
}

// <--[tag]
// @attribute <util.random.duuid>
// @attribute <util.random.duuid[(<source>)]>
// @returns Element
// @description
// Returns a random 'denizen' unique ID, which is made of a randomly generated sentence.
// Optionally specify the source context to base the value on.
// -->
else if (attribute.startsWith("duuid")) {
event.setReplacedObject(CoreUtilities.autoAttrib(new Element(ScriptQueue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ public class QueueWordList {
}

static List<String> repeat(String str, int times) {
List<String> strs = new ArrayList<>();
for (int i = 0; i < times; i += 1) {
List<String> strs = new ArrayList<>(times);
for (int i = 0; i < times; i++) {
strs.add(str);
}
return strs;
Expand Down

0 comments on commit 43c3825

Please sign in to comment.