From fbdaae5ac732c89fec20e12a002166312dce2f0a Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Sat, 4 Aug 2018 01:45:18 -0400 Subject: [PATCH] Actually, this would be a better name... --- .../api/proxy/{ProxiedPlayer.java => Player.java} | 2 +- .../proxy/connection/client/ConnectedPlayer.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename api/src/main/java/com/velocitypowered/api/proxy/{ProxiedPlayer.java => Player.java} (97%) diff --git a/api/src/main/java/com/velocitypowered/api/proxy/ProxiedPlayer.java b/api/src/main/java/com/velocitypowered/api/proxy/Player.java similarity index 97% rename from api/src/main/java/com/velocitypowered/api/proxy/ProxiedPlayer.java rename to api/src/main/java/com/velocitypowered/api/proxy/Player.java index 3a9b9dcb3..eb500e474 100644 --- a/api/src/main/java/com/velocitypowered/api/proxy/ProxiedPlayer.java +++ b/api/src/main/java/com/velocitypowered/api/proxy/Player.java @@ -12,7 +12,7 @@ import java.util.UUID; /** * Represents a player who is connected to the proxy. */ -public interface ProxiedPlayer { +public interface Player { /** * Returns the player's current username. * @return the username diff --git a/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java b/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java index 2dbb3b215..924c8b6b3 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java @@ -3,7 +3,7 @@ package com.velocitypowered.proxy.connection.client; import com.google.common.base.Preconditions; import com.google.gson.JsonObject; import com.velocitypowered.api.util.MessagePosition; -import com.velocitypowered.api.proxy.ProxiedPlayer; +import com.velocitypowered.api.proxy.Player; import com.velocitypowered.proxy.VelocityServer; import com.velocitypowered.proxy.connection.MinecraftConnectionAssociation; import com.velocitypowered.proxy.data.GameProfile; @@ -29,7 +29,7 @@ import java.util.List; import java.util.Optional; import java.util.UUID; -public class ConnectedPlayer implements MinecraftConnectionAssociation, ProxiedPlayer { +public class ConnectedPlayer implements MinecraftConnectionAssociation, Player { private static final PlainComponentSerializer PASS_THRU_TRANSLATE = new PlainComponentSerializer((c) -> "", TranslatableComponent::key); private static final Logger logger = LogManager.getLogger(ConnectedPlayer.class);