This commit is contained in:
Stephan Richter
2020-11-14 14:13:08 +01:00
parent cba99c16f7
commit 4e68383b8d
2 changed files with 2 additions and 1 deletions

View File

@@ -93,6 +93,7 @@ public abstract class Block extends StretchableTile implements Comparable<Block>
public WaitTime setMax(Direction dir,int max) {
get(dir).max = max;
if (get(dir).min > max) setMin(dir,max);
return this;
}