fixed method indexes for peripherals
This commit is contained in:
parent
2101912964
commit
7a77c4f2c0
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue