mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 05:40:00 +03:00
16 lines
932 B
Diff
16 lines
932 B
Diff
--- ../src-base/minecraft/net/minecraft/client/resources/FallbackResourceManager.java
|
|
+++ ../src-work/minecraft/net/minecraft/client/resources/FallbackResourceManager.java
|
|
@@ -69,10 +69,11 @@
|
|
throw new FileNotFoundException(location.toString());
|
|
}
|
|
|
|
+ @SuppressWarnings("resource")
|
|
protected InputStream getInputStream(ResourceLocation location, IResourcePack resourcePack) throws IOException
|
|
{
|
|
InputStream inputstream = resourcePack.getInputStream(location);
|
|
- return (InputStream)(LOGGER.isDebugEnabled() ? new FallbackResourceManager.InputStreamLeakedResourceLogger(inputstream, location, resourcePack.getPackName()) : inputstream);
|
|
+ return (InputStream)(LOGGER.isDebugEnabled() ? new InputStreamLeakedResourceLogger(inputstream, location, resourcePack.getPackName()) : inputstream);
|
|
}
|
|
|
|
private void checkResourcePath(ResourceLocation p_188552_1_) throws IOException
|