viaversion 4.10.0 compat, indicate 1.20.6 support on modrinth

This commit is contained in:
onebeastchris 2024-04-30 21:59:38 +02:00
parent 51cbbba47c
commit 255835438d
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ public class GeyserSpigotLegacyNativeWorldManager extends GeyserSpigotNativeWorl
int newBlockId = oldBlockId;
// protocolList should *not* be null; we checked for that before initializing this class
for (int i = protocolList.size() - 1; i >= 0; i--) {
MappingData mappingData = protocolList.get(i).getProtocol().getMappingData();
MappingData mappingData = protocolList.get(i).protocol().getMappingData();
if (mappingData != null) {
newBlockId = mappingData.getNewBlockStateId(newBlockId);
}

View file

@ -134,6 +134,6 @@ modrinth {
syncBodyFrom.set(rootProject.file("README.md").readText())
uploadFile.set(tasks.getByPath("remapModrinthJar"))
gameVersions.addAll("1.20.5")
gameVersions.addAll("1.20.5", "1.20.6")
failSilently.set(true)
}