Upload magma

This commit is contained in:
Diamond Creeper 2024-03-04 21:16:02 +13:00
commit dfa9ee0b24
5008 changed files with 653442 additions and 0 deletions

View file

@ -0,0 +1,27 @@
--- a/com/mojang/realmsclient/client/FileDownload.java
+++ b/com/mojang/realmsclient/client/FileDownload.java
@@ -292,15 +_,15 @@
p_86993_.delete();
}
- try (LevelStorageSource.LevelStorageAccess levelstoragesource$levelstorageaccess = p_86994_.m_289864_(s)) {
- levelstoragesource$levelstorageaccess.m_78297_(s.trim());
- Path path = levelstoragesource$levelstorageaccess.m_78283_(LevelResource.f_78178_);
- m_86987_(path.toFile());
- } catch (IOException ioexception) {
- f_86953_.error("Failed to rename unpacked realms level {}", s, ioexception);
- } catch (ContentValidationException contentvalidationexception) {
- f_86953_.warn("{}", (Object)contentvalidationexception.getMessage());
- }
+// try (LevelStorageSource.LevelStorageAccess levelstoragesource$levelstorageaccess = p_86994_.validateAndCreateAccess(s)) {
+// levelstoragesource$levelstorageaccess.renameLevel(s.trim());
+// Path path = levelstoragesource$levelstorageaccess.getLevelPath(LevelResource.LEVEL_DATA_FILE);
+// deletePlayerTag(path.toFile());
+// } catch (IOException ioexception) {
+// LOGGER.error("Failed to rename unpacked realms level {}", s, ioexception);
+// } catch (ContentValidationException contentvalidationexception) {
+// LOGGER.warn("{}", (Object)contentvalidationexception.getMessage());
+// }
this.f_86959_ = new File(file1, s + File.separator + "resources.zip");
}

View file

@ -0,0 +1,8 @@
<html>
<head><title>Index of /mirror/src/Magma-1-20-x/patches/minecraft/com/mojang/realmsclient/client/</title></head>
<body>
<h1>Index of /mirror/src/Magma-1-20-x/patches/minecraft/com/mojang/realmsclient/client/</h1><hr><pre><a href="../">../</a>
<a href="FileDownload.java.patch">FileDownload.java.patch</a> 07-Oct-2023 14:12 1579
</pre><hr><script defer src="https://static.cloudflareinsights.com/beacon.min.js/v84a3a4012de94ce1a686ba8c167c359c1696973893317" integrity="sha512-euoFGowhlaLqXsPWQ48qSkBSCFs3DPRyiwVu3FjR96cMPx+Fr+gpWRhIafcHwqwCqWS42RZhIudOvEI+Ckf6MA==" nonce="11d6efe0e8654308e4384fbe9f791fb9" data-cf-beacon='{"rayId":"85f016f4787450c2","version":"2024.2.4","r":1,"token":"583109dda43e47a593fd006526a81120","b":1}' crossorigin="anonymous"></script>
</body>
</html>