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.24</version>
|
||||
<version>0.11.25</version>
|
||||
<name>Web4Rail</name>
|
||||
<packaging>jar</packaging>
|
||||
<description>Java Model Railway Control</description>
|
||||
|
||||
@@ -99,6 +99,7 @@ public abstract class Block extends StretchableTile implements Comparable<Block>
|
||||
|
||||
public WaitTime setMin(Direction dir,int min) {
|
||||
get(dir).min = min;
|
||||
if (get(dir).max > min) setMax(dir,min);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user