Skip to content

Commit

Permalink
Implemented 1.9.2 protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigner committed Aug 31, 2016
1 parent dca377a commit a08e508
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Config file to modify server properties.
- 1.8.X (47)
- 1.9 (107)
- 1.9.1 (108)
- 1.9.2 (109)

More protocols will be implemented soon.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ public void sendJoinGame(PlayerConnection playerConnection, int entityId, byte g
@Override
public int[] getVersions()
{
return new int[]{108};
return new int[]{108, 109};
}
}
3 changes: 0 additions & 3 deletions src/main/java/net/rigner/limbo/world/Chunk.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ public byte[] getMap()

public byte[] getMapWithPalette() throws IOException
{
Limbo.LOGGER.info(0 + " : " + this.mapWithPalette[0][0]);
Limbo.LOGGER.info(1 + " : " + this.mapWithPalette[0][1]);
Limbo.LOGGER.info(2 + " : " + this.mapWithPalette[0][2]);
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
PacketSerializer packetSerializer = new PacketSerializer(byteArrayOutputStream);
for (int i = 0; i < 16; ++i)
Expand Down

0 comments on commit a08e508

Please sign in to comment.