diff --git a/pom.xml b/pom.xml
index fc6da13..13049e4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
nl.andrewl
record-net
- 1.3.3
+ 1.3.4
17
diff --git a/src/main/java/nl/andrewl/record_net/MessageUtils.java b/src/main/java/nl/andrewl/record_net/MessageUtils.java
index 5a277f2..d3eb1e0 100644
--- a/src/main/java/nl/andrewl/record_net/MessageUtils.java
+++ b/src/main/java/nl/andrewl/record_net/MessageUtils.java
@@ -66,6 +66,8 @@ public class MessageUtils {
return Short.BYTES;
} else if (o instanceof Long) {
return Long.BYTES;
+ } else if (o instanceof Boolean) {
+ return 1;
} else if (o instanceof String) {
return getByteSize((String) o);
} else if (o instanceof UUID) {