mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-22 13:09:44 +00:00
Added IMC microblock material registering. modId = "ForgeMicroblock", key = "microMaterial", value = ItemStack(block, _, meta)
Fixed some material icon loading inconsistencies.
This commit is contained in:
1 parent
bb13dbd65c
commit
ee4071384d
5 files changed
+49
-16
No files matched your search
@@ -28,7 +28,7 @@ object MicroblockEventHandler extends IConnectionHandler
|
||||
@SideOnly(Side.CLIENT)
|
||||
def postTextureStitch(event:TextureStitchEvent.Post)
|
||||
{
|
||||
if(Loader.instance.hasReachedState(LoaderState.POSTINITIALIZATION))
|
||||
if(event.map.textureType == 0 && Loader.instance.hasReachedState(LoaderState.POSTINITIALIZATION))
|
||||
MicroMaterialRegistry.getIdMap.foreach(e => e._2.loadIcons())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user