Skip to content
Permalink
Browse files

fix duuid tag meta

  • Loading branch information...
mcmonkey4eva committed Feb 21, 2019
1 parent 9e29c1a commit 43c38251d2dcdd77bdc5fabbe77f3c35ff0a54d1
@@ -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
@@ -104,8 +104,8 @@
}

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;

0 comments on commit 43c3825

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