Revert previous commit. (This is why you shouldn't make commits 1 minute after you wake up.

This commit is contained in:
UnknownShadow200 2016-08-29 08:05:37 +10:00
parent 1ddd4464b7
commit 0e6ee0c8de
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);