Skip to content

Commit

Permalink
Fix: invisible blocks when chunk has blocks at sky level
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksey-Terzi committed Apr 18, 2016
1 parent e0a850f commit 7f39bc0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.lishid</groupId>
<artifactId>orebfuscator</artifactId>
<version>4.0.2-SNAPSHOT</version>
<version>4.0.3-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Orebfuscator4</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ private boolean moveToNextLayer() throws IOException {

moveToNextSection();

if(oldSectionIndex + 1 == this.sectionIndex) {
if(this.sectionIndex < 16 && oldSectionIndex + 1 == this.sectionIndex) {
readLayer(this.buffer.nextLayer);
}
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ private static byte[] Obfuscate(ChunkData chunkData, Player player, ArrayList<Bl

putSignsList(player, chunkData.chunkX, chunkData.chunkZ, proximityBlocks);
ProximityHider.AddProximityBlocks(player, proximityBlocks);
return output;
}

Expand Down

0 comments on commit 7f39bc0

Please sign in to comment.