SteamWar/BauSystem2.0
Archiviert
12
0

Hotfix die zweite

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2023-07-17 17:41:06 +02:00
Ursprung b93c743969
Commit 32dcc8e7b4

Datei anzeigen

@ -159,9 +159,9 @@ public class SteamWarLuaPlugin extends TwoArgFunction {
public static String varArgsToString(Varargs args) { public static String varArgsToString(Varargs args) {
StringBuilder builder = new StringBuilder(); StringBuilder builder = new StringBuilder();
for (int i = 1; i <= args.narg(); i++) { for (int i = 1; i <= args.narg(); i++) {
if (builder.length() != 0) builder.append(" ");
LuaValue arg = args.arg(i); LuaValue arg = args.arg(i);
builder.append(arg.tojstring()); builder.append(arg.tojstring());
builder.append(" ");
} }
return builder.toString(); return builder.toString();
} }