From 142bb95c069fd92f457b805e9ff4deb5723fc15e Mon Sep 17 00:00:00 2001 From: RednedEpic Date: Sat, 15 Jan 2022 11:56:40 -0600 Subject: [PATCH] Fix package name for `Connection` --- api/base/src/main/java/org/geysermc/api/GeyserApiBase.java | 2 +- .../org/geysermc/api/{session => connection}/Connection.java | 2 +- .../org/geysermc/geyser/api/connection/GeyserConnection.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename api/base/src/main/java/org/geysermc/api/{session => connection}/Connection.java (97%) diff --git a/api/base/src/main/java/org/geysermc/api/GeyserApiBase.java b/api/base/src/main/java/org/geysermc/api/GeyserApiBase.java index 3549a912a..bf38f58b9 100644 --- a/api/base/src/main/java/org/geysermc/api/GeyserApiBase.java +++ b/api/base/src/main/java/org/geysermc/api/GeyserApiBase.java @@ -27,7 +27,7 @@ package org.geysermc.api; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; -import org.geysermc.api.session.Connection; +import org.geysermc.api.connection.Connection; import java.util.List; import java.util.UUID; diff --git a/api/base/src/main/java/org/geysermc/api/session/Connection.java b/api/base/src/main/java/org/geysermc/api/connection/Connection.java similarity index 97% rename from api/base/src/main/java/org/geysermc/api/session/Connection.java rename to api/base/src/main/java/org/geysermc/api/connection/Connection.java index ccf3f7122..d3879f36d 100644 --- a/api/base/src/main/java/org/geysermc/api/session/Connection.java +++ b/api/base/src/main/java/org/geysermc/api/connection/Connection.java @@ -23,7 +23,7 @@ * @link https://github.com/GeyserMC/Geyser */ -package org.geysermc.api.session; +package org.geysermc.api.connection; import org.checkerframework.checker.nullness.qual.NonNull; diff --git a/api/geyser/src/main/java/org/geysermc/geyser/api/connection/GeyserConnection.java b/api/geyser/src/main/java/org/geysermc/geyser/api/connection/GeyserConnection.java index 79260ac95..b673b60f6 100644 --- a/api/geyser/src/main/java/org/geysermc/geyser/api/connection/GeyserConnection.java +++ b/api/geyser/src/main/java/org/geysermc/geyser/api/connection/GeyserConnection.java @@ -25,7 +25,7 @@ package org.geysermc.geyser.api.connection; -import org.geysermc.api.session.Connection; +import org.geysermc.api.connection.Connection; /** * Represents a player session used in Geyser.