Fix up Configuration ids to only work for 256 ids until Jeb finishes the 4096 conversion.

This commit is contained in:
LexManos 2012-03-10 17:08:34 -08:00
parent b56e414b98
commit b23798f67a
1 changed files with 2 additions and 2 deletions

View File

@ -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])
{ {