Skip to content

Commit da8e5c0

Browse files
committed
april fools snapshots
1 parent 6270d14 commit da8e5c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: generate.py

+4
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ def process_file(self, *files: str, out: Optional[str] = None):
6464

6565
@staticmethod
6666
def fix_version(candidate: str) -> str:
67+
if candidate.count(".") < 2:
68+
return ""
6769
# accounts for the ornithe naming convention
6870
addition = ""
6971
if candidate == "1.0":
@@ -90,6 +92,8 @@ def fix_version(candidate: str) -> str:
9092
("1.5.2", "2.9.0", IntermediaryType.LegacyFabricNoAppletOldArgs),
9193
("1.4.2", "2.9.0", IntermediaryType.LegacyFabricNoAppletOldArgs),
9294
("1.3.1", "2.9.0", IntermediaryType.LegacyFabricNoAppletOldArgs),
95+
("15w14a", "2.9.4-nightly-20150209", IntermediaryType.LegacyFabric),
96+
("1.RV-Pre1", "2.9.4-nightly-20150209", IntermediaryType.LegacyFabricV2)
9397
# ("1.2.5", "2.9.0", IntermediaryType.Ornithe),
9498
# ("1.1", "2.9.0", IntermediaryType.Ornithe),
9599
# ("1.0", "2.9.0", IntermediaryType.Ornithe)

0 commit comments

Comments
 (0)