Fixed MCedit 1.7.1 Support
Made a minor change to Schematic so that MCedit will load our schematics properly.
This commit is contained in:
parent
02e8325f30
commit
c83d622ceb
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ public class Schematic {
|
||||||
schematicTag.setString("Materials", "Alpha");
|
schematicTag.setString("Materials", "Alpha");
|
||||||
|
|
||||||
byte[] lowBits = new byte[blocks.length];
|
byte[] lowBits = new byte[blocks.length];
|
||||||
byte[] highBits = new byte[(blocks.length >> 1) + 1];
|
byte[] highBits = new byte[(blocks.length >> 1) + (blocks.length & 1)];
|
||||||
boolean hasExtendedIDs = encodeBlockIDs(blocks, lowBits, highBits);
|
boolean hasExtendedIDs = encodeBlockIDs(blocks, lowBits, highBits);
|
||||||
|
|
||||||
schematicTag.setByteArray("Blocks", lowBits);
|
schematicTag.setByteArray("Blocks", lowBits);
|
||||||
|
|
Loading…
Reference in a new issue