Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7565d3 commit 6be48ecCopy full SHA for 6be48ec
src/main/java/org/skriptlang/skript/common/function/DefaultFunction.java
@@ -11,7 +11,7 @@
11
* <p>
12
* An example implementation is stated below.
13
* <pre><code>
14
- * DefaultFunction.builder(addon, "floor", Long.class)
+ * DefaultFunction<Long> function = DefaultFunction.builder(addon, "floor", Long.class)
15
* .description("Rounds a number down.")
16
* .examples("floor(2.34) = 2")
17
* .since("3.0")
@@ -23,8 +23,9 @@
23
* return l;
24
*
25
* return Math2.floor(((Number) value).doubleValue());
26
- * })
27
- * .register();
+ * });
+ *
28
+ * Functions.register(function);
29
* </code></pre>
30
* </p>
31
0 commit comments