mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-24 22:04:23 +00:00
[ci skip] spotlessApply with the new settings
This commit is contained in:
1 parent
6b208b98bc
commit
a309488cdf
214 files changed
+9283
-9265
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package minetweaker.expand;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import minetweaker.api.data.DataList;
|
||||
import minetweaker.api.data.IData;
|
||||
import stanhebben.zenscript.annotations.ZenCaster;
|
||||
@@ -13,8 +14,9 @@ import stanhebben.zenscript.annotations.ZenExpansion;
|
||||
*/
|
||||
@ZenExpansion("any[]")
|
||||
public class ExpandAnyArray {
|
||||
@ZenCaster
|
||||
public static IData asData(IData[] values) {
|
||||
return new DataList(Arrays.asList(values), true);
|
||||
}
|
||||
|
||||
@ZenCaster
|
||||
public static IData asData(IData[] values) {
|
||||
return new DataList(Arrays.asList(values), true);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user