mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-30 21:17:53 +01:00
update Instance
This commit is contained in:
parent
2e406e5c46
commit
f35bcb90b9
@ -405,7 +405,7 @@ public abstract class Instance implements BlockGetter, BlockSetter, Tickable, Ta
|
||||
* @return the {@link TimeUpdatePacket} with this instance data
|
||||
*/
|
||||
private @NotNull TimeUpdatePacket createTimePacket() {
|
||||
return new TimeUpdatePacket(worldAge, time);
|
||||
return new TimeUpdatePacket(worldAge, timeRate == 0 ? -time : time);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -791,4 +791,4 @@ public abstract class Instance implements BlockGetter, BlockSetter, Tickable, Ta
|
||||
public @NotNull Pointers pointers() {
|
||||
return this.pointers;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user