fixed method indexes for peripherals

This commit is contained in:
Ben Dornis 2016-04-25 09:58:11 -07:00
parent 2101912964
commit 7a77c4f2c0

View file

@ -1243,7 +1243,7 @@ public class TileEntityDigitalMiner extends TileEntityElectricBlock implements I
{
num = ((Double)arguments[0]).intValue();
}
else if(arguments[0] instanceof String && (method != 6 && method != 7))
else if(arguments[0] instanceof String && (method != 5 && method != 6))
{
num = Integer.parseInt((String)arguments[0]);
}