@@ -0,0 +1,1201 @@
+package info.u_team.u_team_core.data;%0A%0Aimport java.io.IOException;%0Aimport java.util.Arrays;%0A%0Aimport net.minecraft.resources.*;%0Aimport net.minecraft.util.ResourceLocation;%0Aimport net.minecraftforge.common.data.ExistingFileHelper;%0Aimport net.minecraftforge.fml.loading.FMLLoader;%0A%0Apublic class ExistingFileHelperWithForge extends ExistingFileHelper %7B%0A%09%0A%09private final ExistingFileHelper existingFileHelper;%0A%09%0A%09public ExistingFileHelperWithForge(ExistingFileHelper helper) %7B%0A%09%09super(Arrays.asList(FMLLoader.getForgePath()), helper.isEnabled());%0A%09%09this.existingFileHelper = helper;%0A%09%7D%0A%09%0A%09public boolean exists(ResourceLocation loc, ResourcePackType type, String pathSuffix, String pathPrefix) %7B%0A%09%09final boolean exists = existingFileHelper.exists(loc, type, pathSuffix, pathPrefix);%0A%09%09if (!exists) %7B%0A%09%09%09return super.exists(loc, type, pathSuffix, pathPrefix);%0A%09%09%7D%0A%09%09return exists;%0A%09%7D%0A%09%0A%09public IResource getResource(ResourceLocation loc, ResourcePackType type, String pathSuffix, String pathPrefix) throws IOException %7B%0A%09%09try %7B%0A%09%09%09return existingFileHelper.getResource(loc, type, pathSuffix, pathPrefix);%0A%09%09%7D catch (IOException ex) %7B%0A%09%09%09return super.getResource(loc, type, pathSuffix, pathPrefix);%0A%09%09%7D%0A%09%7D%0A%7D%0A

Add existing file helper with the forge resources included