@@ -79,11 +79,11 @@ public class CommandUtils {
UUID uuid = getUUID(o);
return bank.getId(uuid);
}
-
+
public static Class getNamedClass(String s) throws ClassNotFoundException {
return Class.forName(s);
public static BlockState getBlockState(Location l) {
return l.getWorld().getBlockState(l.getBlockPos());
@@ -40,5 +40,7 @@ public class Commands {
SnuviConfig config = (SnuviConfig) in[0].get(sc);
scheduler.scheduleAsyncTask(() -> config.save(sc));
});
+ sm.registerFunction("text.concat2", (sc, in) -> concat(sc, 0, "", in));
+ sm.registerAlias("text.concat2", "concat2");