Skip to content

Commit

Permalink
Possible fix for ForEachCommand.java
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed May 23, 2013
1 parent 8b08431 commit 8ba6487
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -97,7 +97,7 @@ public void execute(ScriptEntry scriptEntry) throws CommandExecutionException {
for (int x = 0; x != x_amt + 1; x++) {
for (int y = 0; y != y_amt + 1; y++) {
for (int z = 0; z != z_amt + 1; z++) {
dLocation loc = new dLocation(loc_1.add((double) x * x_inc, (double) y * y_inc, (double) z * z_inc));
dLocation loc = new dLocation(loc_1.clone().add((double) x * x_inc, (double) y * y_inc, (double) z * z_inc));

dB.echoDebug("location: " + loc.as_dScriptArg());

Expand Down

0 comments on commit 8ba6487

Please sign in to comment.