mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2025-02-18 20:12:36 +01:00
fix
This commit is contained in:
parent
1c3193ec57
commit
a1c6021da6
@ -37,7 +37,7 @@ public class Scheduler<T extends ScheduleItem> {
|
||||
Interval cur = item.getDelayProperty().get();
|
||||
for (int i = 0; i < changed; i++) {
|
||||
if ((t - i) % cur.getDelay() == cur.getOffset()) {
|
||||
HPacket hPacket = new HPacket(item.getPacketAsStringProperty().getName());
|
||||
HPacket hPacket = new HPacket(item.getPacketAsStringProperty().get());
|
||||
|
||||
if (item.getDestinationProperty().get() == HMessage.Direction.TOSERVER) {
|
||||
connection.sendToServer(hPacket);
|
||||
|
Loading…
x
Reference in New Issue
Block a user