mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Some logging of texture overrides- also, only unregister if it's an actual ModTextureStatic, not if it's a subclass.
This commit is contained in:
1 parent
a94316cc9e
commit
4e8e84244b
2 files changed
+15
No files matched your search
@@ -155,4 +155,17 @@ public class ModTextureStatic extends TextureFX
|
||||
|
||||
return tmp;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see net.minecraft.src.TextureFX#unregister(net.minecraft.src.RenderEngine)
|
||||
*/
|
||||
@Override
|
||||
public boolean unregister(RenderEngine engine)
|
||||
{
|
||||
if (this.getClass()==ModTextureStatic.class) {
|
||||
return super.unregister(engine);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user