diff --git a/src/main/java/pw/yumc/YumCore/mc/MinecraftTools.java b/src/main/java/pw/yumc/YumCore/mc/MinecraftTools.java index b7cab3d..a3c23cf 100644 --- a/src/main/java/pw/yumc/YumCore/mc/MinecraftTools.java +++ b/src/main/java/pw/yumc/YumCore/mc/MinecraftTools.java @@ -1,11 +1,14 @@ package pw.yumc.YumCore.mc; +import pw.yumc.YumCore.annotation.NotProguard; + /** * Minecraft工具类 * * @author 喵♂呜 * @since 2017/1/26 0026 */ +@NotProguard public class MinecraftTools { /** * 获得服务器信息 diff --git a/src/main/java/pw/yumc/YumCore/mc/ServerInfo.java b/src/main/java/pw/yumc/YumCore/mc/ServerInfo.java index 4822da9..a9ace4e 100644 --- a/src/main/java/pw/yumc/YumCore/mc/ServerInfo.java +++ b/src/main/java/pw/yumc/YumCore/mc/ServerInfo.java @@ -9,12 +9,15 @@ import java.net.InetSocketAddress; import java.net.Socket; import java.nio.charset.Charset; +import pw.yumc.YumCore.annotation.NotProguard; + /** * Minecraft服务器数据获取类 * * @author 喵♂呜 * @since 2017/1/26 0026 */ +@NotProguard public class ServerInfo { private String address = "localhost"; private int port = 25565;