From 6057a0c8185e3776fdc85e806e9e48f550cb607f Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Mon, 29 Aug 2016 01:02:33 +1000 Subject: [PATCH] Fix infinite loop in UndoFormatOnline --- Player/Undo/UndoFormatOnline.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Player/Undo/UndoFormatOnline.cs b/Player/Undo/UndoFormatOnline.cs index c7dae1e1b..548d85f12 100644 --- a/Player/Undo/UndoFormatOnline.cs +++ b/Player/Undo/UndoFormatOnline.cs @@ -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 items = node.Items; pos.LevelName = node.MapName;