Skip to content
This repository was archived by the owner on Jun 19, 2021. It is now read-only.

Commit 7600449

Browse files
committed
fix
1 parent bd3a93a commit 7600449

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/org/yatopiamc/bot/mappings/spigot/SpigotMappingParser.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,13 @@ private static List<Mapping> parseMember(
6262
}
6363
String description = values.length == 4 ? values[2] : null;
6464
Mapping parent = null;
65-
/*
65+
String mappingsPathPrefix = mcVer == "1.16.5" ? "" : "net/minecraft/server/";
6666
for (Mapping mapping : classMappings) {
67-
if (mapping.getName().equalsIgnoreCase("net/minecraft/server/" + owner)) {
67+
if (mapping.getName().equalsIgnoreCase(mappingsPathPrefix + owner)) {
6868
parent = mapping;
6969
break;
7070
}
7171
}
72-
*/
7372

7473
ret.add(
7574
new Mapping(

0 commit comments

Comments
 (0)