From 25779e6c0ca8f98476efd94bab8f95bff7fe54f2 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Tue, 28 Mar 2023 01:03:53 +0200 Subject: [PATCH] Bugfix --- .../src/main/java/it/cavallium/buffer/BufDataInput.java | 1 - 1 file changed, 1 deletion(-) diff --git a/data-generator-runtime/src/main/java/it/cavallium/buffer/BufDataInput.java b/data-generator-runtime/src/main/java/it/cavallium/buffer/BufDataInput.java index d7c4601..604f2ef 100644 --- a/data-generator-runtime/src/main/java/it/cavallium/buffer/BufDataInput.java +++ b/data-generator-runtime/src/main/java/it/cavallium/buffer/BufDataInput.java @@ -45,7 +45,6 @@ public class BufDataInput extends SafeDataInputStream { @Override public @NotNull String readUTF() { var length = this.readUnsignedShort(); - this.skipNBytes(length); return this.in.readString(length, StandardCharsets.UTF_8); }