mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2025-02-19 20:42:36 +01:00
fix in scheduler load
This commit is contained in:
parent
0132978fb9
commit
303685726d
@ -75,7 +75,7 @@ public class InteractableScheduleItem extends ScheduleItem implements StringifyA
|
|||||||
@Override
|
@Override
|
||||||
public void constructFromString(String str) {
|
public void constructFromString(String str) {
|
||||||
String[] parts = str.split("\t");
|
String[] parts = str.split("\t");
|
||||||
if (parts.length == 6) {
|
if (parts.length == 5) {
|
||||||
int index = Integer.parseInt(parts[0]);
|
int index = Integer.parseInt(parts[0]);
|
||||||
boolean paused = parts[1].equals("true");
|
boolean paused = parts[1].equals("true");
|
||||||
Interval delay = new Interval(parts[2]);
|
Interval delay = new Interval(parts[2]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user