Skip to content

Commit 1df6080

Browse files
authored
Clarify level map properties packet errors (#210)
1 parent b02f018 commit 1df6080

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

common/src/main/java/com/turikhay/mc/mapmodcompanion/LevelMapProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ public StandardId deserialize(byte[] data) throws MalformedPacketException {
1414
if (marker == 0) {
1515
return new StandardId(in.readInt());
1616
}
17-
throw new MalformedPacketException("invalid marker byte (0x" + Integer.toHexString(marker) + ") in the standard id packet");
17+
throw new MalformedPacketException("invalid marker byte (0x" + Integer.toHexString(marker) + ") in the level map properties packet");
1818
} catch (IOException e) {
19-
throw new MalformedPacketException("unexpected error reading standard id packet", e);
19+
throw new MalformedPacketException("unexpected error reading level map properties packet", e);
2020
}
2121
}
2222

0 commit comments

Comments
 (0)