From fbef4ad4abaea456ff45e46b402e24be6145e34d Mon Sep 17 00:00:00 2001 From: sirjonasxx <36828922+sirjonasxx@users.noreply.github.com> Date: Sun, 17 Jan 2021 05:02:55 +0100 Subject: [PATCH] short --- G-Earth/src/main/java/gearth/protocol/HPacket.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/G-Earth/src/main/java/gearth/protocol/HPacket.java b/G-Earth/src/main/java/gearth/protocol/HPacket.java index 08cf1d2..650685c 100644 --- a/G-Earth/src/main/java/gearth/protocol/HPacket.java +++ b/G-Earth/src/main/java/gearth/protocol/HPacket.java @@ -514,6 +514,9 @@ public class HPacket implements StringifyAble { else if (o instanceof Integer) { appendInt((Integer)o); } + else if (o instanceof Short) { + appendShort((Short)o); + } else if (o instanceof String) { appendString((String)o, StandardCharsets.UTF_8); }