Fix up Configuration ids to only work for 256 ids until Jeb finishes the 4096 conversion.
This commit is contained in:
parent
b56e414b98
commit
b23798f67a
|
@ -57,7 +57,7 @@ public class Configuration
|
||||||
{
|
{
|
||||||
if (configBlocks == null)
|
if (configBlocks == null)
|
||||||
{
|
{
|
||||||
configBlocks = new boolean[Block.blocksList.length];
|
configBlocks = new boolean[/*Block.blocksList.length*/ 256];
|
||||||
|
|
||||||
for (int i = 0; i < configBlocks.length; ++i)
|
for (int i = 0; i < configBlocks.length; ++i)
|
||||||
{
|
{
|
||||||
|
@ -85,7 +85,7 @@ public class Configuration
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
for (int j = Block.blocksList.length - 1; j >= 0; --j)
|
for (int j = /*Block.blocksList.length*/ 256 - 1; j >= 0; --j)
|
||||||
{
|
{
|
||||||
if (Block.blocksList[j] == null && !configBlocks[j])
|
if (Block.blocksList[j] == null && !configBlocks[j])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue