minor bugfix

This commit is contained in:
Stephan Richter
2020-12-06 00:45:01 +01:00
parent 7085c033bf
commit 77d7ded897
5 changed files with 8 additions and 6 deletions

View File

@@ -536,7 +536,7 @@ public class Plan extends BaseClass{
break;
}
}
return t(moved ? "Tile(s) moved.":"No tile(s) moved.");
return t(moved ? "Tile(s) moved.":"No tile moved.");
}
public void drop(Tile tile) {

View File

@@ -419,6 +419,7 @@ public abstract class Tile extends BaseClass implements Comparable<Tile>{
disabled = "on".equals(params.get(DISABLED));
String len = params.get(LENGTH);
if (isSet(len)) length(Integer.parseInt(len));
super.update(params);
plan.place(this);
return this;
}