mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 15:46:01 +00:00
Began the actual implementation of PathfinderCache
This commit is contained in:
1 parent
9b46044391
commit
aa2c79672b
3 files changed
+82
-3
No files matched your search
@@ -1,7 +1,6 @@
|
||||
package mekanism.common.multipart;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
||||
import codechicken.microblock.BlockMicroMaterial;
|
||||
|
||||
public class PlasticMicroMaterial extends BlockMicroMaterial
|
||||
@@ -11,8 +10,9 @@ public class PlasticMicroMaterial extends BlockMicroMaterial
|
||||
super(block, meta);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getColour(int pass)
|
||||
{
|
||||
return block().getRenderColor(meta())<<8|0xFF;
|
||||
return block().getRenderColor(meta()) << 8 | 0xFF;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user