Added 1.18.2 + fix NMSReflect html renrering

This commit is contained in:
Marc Baloup 2022-02-28 20:03:10 +01:00
parent e198a6640a
commit 4edf759bd3
2 changed files with 5 additions and 4 deletions

View File

@ -53,7 +53,8 @@ public enum MinecraftVersion {
v1_17(755, "1.17"),
v1_17_1(756, "1.17.1"),
v1_18_to_1_18_1(757, "1.18", "1.18.1");
v1_18_to_1_18_1(757, "1.18", "1.18.1"),
v1_18_2(758, "1.18.2");
// IMPORTANT: don't forget to update the versionMergeDisplay value when adding a new version;
private static Map<EnumSet<MinecraftVersion>, List<String>> versionMergeDisplay;
@ -145,6 +146,9 @@ public enum MinecraftVersion {
versionMergeDisplay.put(EnumSet.of(v1_17, v1_17_1),
ImmutableList.of("1.17.x"));
versionMergeDisplay.put(EnumSet.of(v1_18_to_1_18_1, v1_18_2),
ImmutableList.of("1.18.x"));
}

View File

@ -178,9 +178,6 @@ public class NMSReflect {
font-size: 1.1em;
border-top: solid 1px white;
}
a, a:visited {
color: #ddd;
}
.kw {
color: #CC6C1D;
}