mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Fixed Digital Miner text scaling, fixed MCMP version, fixed Digital Miner crash
This commit is contained in:
1 parent
38999f3647
commit
ff33572ff0
6 files changed
+7
-7
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
minecraft_version=1.10.2
|
||||
mappings_version=snapshot_20160627
|
||||
forge_version=12.18.1.2014
|
||||
mcmp_version=1.2.0_72
|
||||
mcmp_version=1.2.0_74
|
||||
jei_version=3.7.6.231
|
||||
mod_version=9.1.0
|
||||
@@ -124,7 +124,7 @@ public class GuiMItemStackFilter extends GuiMekanism
|
||||
|
||||
if(filter.itemType != null)
|
||||
{
|
||||
fontRendererObj.drawString(filter.itemType.getDisplayName(), 35, 41, 0x00CD00);
|
||||
renderScaledText(filter.itemType.getDisplayName(), 35, 41, 0x00CD00, 107);
|
||||
}
|
||||
|
||||
if(filter.itemType != null)
|
||||
|
||||
@@ -125,7 +125,7 @@ public class GuiMMaterialFilter extends GuiMekanism
|
||||
|
||||
if(filter.materialItem != null)
|
||||
{
|
||||
fontRendererObj.drawString(filter.materialItem.getDisplayName(), 35, 41, 0x00CD00);
|
||||
renderScaledText(filter.materialItem.getDisplayName(), 35, 41, 0x00CD00, 107);
|
||||
}
|
||||
|
||||
if(filter.materialItem != null)
|
||||
|
||||
@@ -181,7 +181,7 @@ public class GuiTItemStackFilter extends GuiMekanism
|
||||
|
||||
if(filter.itemType != null)
|
||||
{
|
||||
fontRendererObj.drawString(filter.itemType.getDisplayName(), 35, 41, 0x00CD00);
|
||||
renderScaledText(filter.itemType.getDisplayName(), 35, 41, 0x00CD00, 89);
|
||||
}
|
||||
|
||||
if(filter.itemType != null)
|
||||
|
||||
@@ -129,7 +129,7 @@ public class GuiTMaterialFilter extends GuiMekanism
|
||||
|
||||
if(filter.materialItem != null)
|
||||
{
|
||||
fontRendererObj.drawString(filter.materialItem.getDisplayName(), 35, 41, 0x00CD00);
|
||||
renderScaledText(filter.materialItem.getDisplayName(), 35, 41, 0x00CD00, 107);
|
||||
}
|
||||
|
||||
if(filter.materialItem != null)
|
||||
|
||||
@@ -5,7 +5,7 @@ import io.netty.buffer.ByteBuf;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import mekanism.common.util.MekanismUtils;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
||||
@@ -60,7 +60,7 @@ public abstract class MinerFilter
|
||||
|
||||
if(dataStream.readBoolean())
|
||||
{
|
||||
replaceStack = new ItemStack(Block.getBlockById(dataStream.readInt()), 1, dataStream.readInt());
|
||||
replaceStack = new ItemStack(Item.getItemById(dataStream.readInt()), 1, dataStream.readInt());
|
||||
}
|
||||
else {
|
||||
replaceStack = null;
|
||||
|
||||
Reference in new issue
Block a user