Remove unused variable & use variable instead of requery

This commit is contained in:
Xander committed 2017-09-02 11:53:09 +08:00
1 parent 3cc755f33d
commit fac9902e06
2 files changed
+1 -2

No files matched your search

@@ -137,7 +137,6 @@ public class GlowPanelModel extends OBJBakedModelBase
if(state != null && tempState == null)
{
int hash = TileEntityGlowPanel.hash((IExtendedBlockState)state);
EnumColor color = ((IExtendedBlockState)state).getValue(PropertyColor.INSTANCE).color;
if(!glowPanelCache.containsKey(hash))
{
@@ -122,7 +122,7 @@ public class TransmitterModel extends OBJBakedModelBase
if(colorProp != null && colorProp.color != null)
{
color = extended.getValue(PropertyColor.INSTANCE).color.ordinal();
color = colorProp.color.ordinal();
}
OBJState obj = extended.getValue(OBJProperty.INSTANCE);