Fix 1.12.2 bugs, fill mcmod.info

This commit is contained in:
Vojtěch Šokala
2026-05-08 01:15:13 +02:00
parent 05bdaf0390
commit 611c4606d7
7 changed files with 85 additions and 43 deletions
+1
View File
@@ -29,6 +29,7 @@ task deleteResources(type: Delete) {
processResources {
rename '(.+_at.cfg)', 'META-INF/$1'
dependsOn(copyCoreResources)
dependsOn(convertJsonToLang)
// dependsOn(copyCommonLoaderResources)
}
@@ -79,7 +79,6 @@ public class CleanroomServerProxy implements AbstractModInitializer.IEventProxy
{
if (GetEventLevel(event) instanceof WorldServer)
{
InternalServerGenerator.DH_SERVER_GEN_TICKET_MAP.put(event.getWorld(), ForgeChunkManager.requestTicket(instance, event.getWorld(), ForgeChunkManager.Type.NORMAL));
this.serverApi.serverLevelLoadEvent(getServerLevelWrapper((WorldServer) GetEventLevel(event)));
}
}
+7 -7
View File
@@ -1,12 +1,12 @@
[{
"modid": "${mod_id}",
"name": "${mod_name}",
"version": "${mod_version}",
"version": "${version}",
"mcversion": "1.12.2",
"description": "${mod_description}",
"authorList": ["${mod_authors}"],
"credits": "${mod_credits}",
"url": "${mod_url}",
"updateJSON": "${mod_update_json}",
"logoFile": "${mod_logo_path}"
"description": "${description}",
"authorList": ["${cleanroom_authors}"],
"credits": "",
"url": "",
"updateJSON": "",
"logoFile": "${logo_path}"
}]