Fix infinite loop in UndoFormatOnline

This commit is contained in:
UnknownShadow200 2016-08-29 01:02:33 +10:00
parent 6a52d20311
commit 6057a0c818

View File

@ -47,7 +47,7 @@ namespace MCGalaxy.Undo {
while (node != null) {
Level lvl = LevelInfo.FindExact(node.MapName);
if (!super && !args.Player.level.name.CaselessEq(node.MapName)) continue;
if (!super && !args.Player.level.name.CaselessEq(node.MapName)) { node = node.Prev; continue; }
List<UndoCacheItem> items = node.Items;
pos.LevelName = node.MapName;