mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 12:05:51 -04:00
Fix infinite loop in UndoFormatOnline
This commit is contained in:
parent
6a52d20311
commit
6057a0c818
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user