Fixed MCedit 1.7.1 Support #59

Merged
SenseiKiwi merged 3 commits from master into master 2013-07-31 21:24:26 +00:00
Showing only changes of commit c83d622ceb - Show all commits

View File

@@ -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);