Add configurable, small Replay Viewer button (closes #471)

This commit is contained in:
Jonas Herzig
2021-02-28 00:32:33 +01:00
parent c6b41d76fa
commit 8ff27437af
5 changed files with 150 additions and 4 deletions

View File

@@ -223,6 +223,12 @@ public class MCVer {
if (message.equals(b.getMessage())) {
return Optional.of(b);
}
//#if MC>=11600
// Fuzzy match (copy does not include children)
if (b.getMessage() != null && b.getMessage().copy().equals(message)) {
return Optional.of(b);
}
//#endif
}
return Optional.empty();
}