From 352e4288900b0c6020ced930be7debce9e330643 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Fri, 17 May 2019 22:21:40 -0800 Subject: [PATCH] explicitly set serialized name post obf --- src/api/java/baritone/api/utils/MyChunkPos.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/api/java/baritone/api/utils/MyChunkPos.java b/src/api/java/baritone/api/utils/MyChunkPos.java index 5748a13d..0533fb0c 100644 --- a/src/api/java/baritone/api/utils/MyChunkPos.java +++ b/src/api/java/baritone/api/utils/MyChunkPos.java @@ -17,11 +17,15 @@ package baritone.api.utils; +import com.google.gson.annotations.SerializedName; + /** * Need a non obfed chunkpos that we can load using GSON */ public class MyChunkPos { + @SerializedName("x") public int x; + @SerializedName("y") public int z; @Override