mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 10:17:38 +01:00
a345ec2e35
By: Doc <nachito94@msn.com>
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
--- a/net/minecraft/server/packs/repository/ResourcePackLoader.java
|
|
+++ b/net/minecraft/server/packs/repository/ResourcePackLoader.java
|
|
@@ -20,7 +20,7 @@
|
|
|
|
private static final Logger LOGGER = LogUtils.getLogger();
|
|
private final String id;
|
|
- private final ResourcePackLoader.c resources;
|
|
+ public final ResourcePackLoader.c resources; // PAIL private -> public
|
|
private final IChatBaseComponent title;
|
|
private final IChatBaseComponent description;
|
|
private final EnumResourcePackVersion compatibility;
|
|
@@ -59,7 +59,7 @@
|
|
try {
|
|
IResourcePack iresourcepack = resourcepackloader_c.open(s);
|
|
|
|
- ResourcePackLoader.a resourcepackloader_a;
|
|
+ ResourcePackLoader.a resourcepackloader_a = null; // CraftBukkit - decompile fix
|
|
label53:
|
|
{
|
|
FeatureFlagsMetadataSection featureflagsmetadatasection;
|
|
@@ -93,7 +93,7 @@
|
|
iresourcepack.close();
|
|
}
|
|
|
|
- return featureflagsmetadatasection;
|
|
+ return resourcepackloader_a; // CraftBukkit - decompile fix
|
|
}
|
|
|
|
if (iresourcepack != null) {
|