mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-12 00:07:33 +00:00
Fix texture not found exceptions in console when using placeholder texture
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user