Fix texture not found exceptions in console when using placeholder texture

This commit is contained in:
Chicken-Bomes committed 2014-07-10 01:17:37 +10:00
1 parent 23a58af62a
commit 4b16ef2776
1 file changed
+9 -6
@@ -6,14 +6,17 @@ import net.minecraft.util.ResourceLocation;
public class PlaceholderTexture extends TextureAtlasSprite
{
protected PlaceholderTexture(String par1)
{
protected PlaceholderTexture(String par1) {
super(par1);
}
@Override
public boolean load(IResourceManager manager, ResourceLocation location)
{
return false;
public boolean hasCustomLoader(IResourceManager manager, ResourceLocation location) {
return true;
}
@Override
public boolean load(IResourceManager manager, ResourceLocation location) {
return true;
}
}