Skip to content

Commit

Permalink
Fix UNDEFINED packed encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
BoomEaro committed Mar 6, 2022
1 parent c4985c5 commit dc6f85f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/ru/nanit/limbo/protocol/PacketSnapshot.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ public void encode() {
Map<Integer, Version> hashes = new HashMap<>();

for (Version version : Version.values()) {
if (version.equals(Version.UNDEFINED)) continue;

ByteMessage encodedMessage = ByteMessage.create();
packet.encode(encodedMessage, version);

Expand Down

0 comments on commit dc6f85f

Please sign in to comment.