From 09eda70c2d5aa233e69b3d1f93fab9e2124b8eea Mon Sep 17 00:00:00 2001 From: 502647092 Date: Tue, 14 Feb 2017 17:39:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B7=A5=E5=85=B7=E7=B1=BB=E4=B8=8D?= =?UTF-8?q?=E6=B7=B7=E6=B7=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- src/main/java/pw/yumc/YumCore/mc/MinecraftTools.java | 3 +++ src/main/java/pw/yumc/YumCore/mc/ServerInfo.java | 3 +++ 2 files changed, 6 insertions(+) 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;