bugfix
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>de.srsoftware</groupId>
|
||||
<artifactId>web4rail</artifactId>
|
||||
<version>0.11.23</version>
|
||||
<version>0.11.24</version>
|
||||
<name>Web4Rail</name>
|
||||
<packaging>jar</packaging>
|
||||
<description>Java Model Railway Control</description>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user