mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
viaversion 4.10.0 compat, indicate 1.20.6 support on modrinth
This commit is contained in:
parent
51cbbba47c
commit
255835438d
2 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ public class GeyserSpigotLegacyNativeWorldManager extends GeyserSpigotNativeWorl
|
||||||
int newBlockId = oldBlockId;
|
int newBlockId = oldBlockId;
|
||||||
// protocolList should *not* be null; we checked for that before initializing this class
|
// protocolList should *not* be null; we checked for that before initializing this class
|
||||||
for (int i = protocolList.size() - 1; i >= 0; i--) {
|
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) {
|
if (mappingData != null) {
|
||||||
newBlockId = mappingData.getNewBlockStateId(newBlockId);
|
newBlockId = mappingData.getNewBlockStateId(newBlockId);
|
||||||
}
|
}
|
||||||
|
|
|
@ -134,6 +134,6 @@ modrinth {
|
||||||
syncBodyFrom.set(rootProject.file("README.md").readText())
|
syncBodyFrom.set(rootProject.file("README.md").readText())
|
||||||
|
|
||||||
uploadFile.set(tasks.getByPath("remapModrinthJar"))
|
uploadFile.set(tasks.getByPath("remapModrinthJar"))
|
||||||
gameVersions.addAll("1.20.5")
|
gameVersions.addAll("1.20.5", "1.20.6")
|
||||||
failSilently.set(true)
|
failSilently.set(true)
|
||||||
}
|
}
|
Loading…
Reference in a new issue