From 4bc23b5f409572107b87ffceaf2a0b9525fbfac5 Mon Sep 17 00:00:00 2001 From: jhqwqmc <2110242767@qq.com> Date: Tue, 24 Jun 2025 11:35:21 +0800 Subject: [PATCH] =?UTF-8?q?refactor(user):=20=E8=A7=84=E8=8C=83=E5=91=BD?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../craftengine/bukkit/plugin/user/BukkitServerPlayer.java | 6 +++--- .../craftengine/core/plugin/network/NetWorkUser.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bukkit/src/main/java/net/momirealms/craftengine/bukkit/plugin/user/BukkitServerPlayer.java b/bukkit/src/main/java/net/momirealms/craftengine/bukkit/plugin/user/BukkitServerPlayer.java index 24d33abb9..d15259099 100644 --- a/bukkit/src/main/java/net/momirealms/craftengine/bukkit/plugin/user/BukkitServerPlayer.java +++ b/bukkit/src/main/java/net/momirealms/craftengine/bukkit/plugin/user/BukkitServerPlayer.java @@ -887,12 +887,12 @@ public class BukkitServerPlayer extends Player { } @Override - public void setClientInformation(ClientInformation clientInfo) { - this.clientInformation = clientInfo; + public void setClientInformation(ClientInformation clientInformation) { + this.clientInformation = clientInformation; } @Override - public ClientInformation getClientInformation() { + public ClientInformation clientInformation() { return this.clientInformation; } diff --git a/core/src/main/java/net/momirealms/craftengine/core/plugin/network/NetWorkUser.java b/core/src/main/java/net/momirealms/craftengine/core/plugin/network/NetWorkUser.java index 35b582128..7fa66409e 100644 --- a/core/src/main/java/net/momirealms/craftengine/core/plugin/network/NetWorkUser.java +++ b/core/src/main/java/net/momirealms/craftengine/core/plugin/network/NetWorkUser.java @@ -66,7 +66,7 @@ public interface NetWorkUser { void setSentResourcePack(boolean sentResourcePack); - void setClientInformation(ClientInformation clientInfo); + void setClientInformation(ClientInformation clientInformation); - ClientInformation getClientInformation(); + ClientInformation clientInformation(); }