mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 03:55:18 -04:00
Revert previous commit. (This is why you shouldn't make commits 1 minute after you wake up.
This commit is contained in:
parent
1ddd4464b7
commit
0e6ee0c8de
@ -47,7 +47,7 @@ namespace MCGalaxy.Undo {
|
||||
// Can we safely discard the entire chunk?
|
||||
bool inRange = chunk.BaseTime.AddTicks(65536 * TimeSpan.TicksPerSecond) >= start;
|
||||
if (!inRange) { args.Stop = true; yield break; }
|
||||
if (!super && !args.Player.level.name.CaselessEq(chunk.LevelName)) { node = node.Prev; continue; }
|
||||
if (!super && !args.Player.level.name.CaselessEq(chunk.LevelName)) continue;
|
||||
pos.LevelName = chunk.LevelName;
|
||||
|
||||
s.Seek(chunk.DataPosition, SeekOrigin.Begin);
|
||||
|
@ -111,7 +111,7 @@ namespace MCGalaxy.Undo {
|
||||
// Can we safely discard the entire chunk?
|
||||
bool inRange = chunk.BaseTime.AddTicks((65536 >> 2) * TimeSpan.TicksPerSecond) >= start;
|
||||
if (!inRange) { args.Stop = true; yield break; }
|
||||
if (!super && !args.Player.level.name.CaselessEq(chunk.LevelName)) { node = node.Prev; continue; }
|
||||
if (!super && !args.Player.level.name.CaselessEq(chunk.LevelName)) continue;
|
||||
pos.LevelName = chunk.LevelName;
|
||||
|
||||
s.Seek(chunk.DataPosition, SeekOrigin.Begin);
|
||||
|
Loading…
x
Reference in New Issue
Block a user