parent
a6561628f4
commit
2023ccb79a
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ public class SafeTimeTracker {
|
|||
if (world == null)
|
||||
return false;
|
||||
|
||||
long currentTime = world.getWorldTime();
|
||||
long currentTime = world.getTotalWorldTime();
|
||||
|
||||
if (currentTime < lastMark) {
|
||||
lastMark = currentTime;
|
||||
|
@ -41,6 +41,6 @@ public class SafeTimeTracker {
|
|||
}
|
||||
|
||||
public void markTime(World world) {
|
||||
lastMark = world.getWorldTime();
|
||||
lastMark = world.getTotalWorldTime();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue