From 6ba8614612f5eafc98e76faf059100acfa3b0213 Mon Sep 17 00:00:00 2001 From: RednedEpic Date: Mon, 29 Jul 2019 17:28:01 -0500 Subject: [PATCH] Move inventory translators to the proper package --- .../connector/network/translators/TranslatorsInit.java | 6 +++--- .../java/{ => window}/JavaOpenWindowTranslator.java | 2 +- .../java/{ => window}/JavaSetSlotTranslator.java | 2 +- .../java/{ => window}/JavaWindowItemsTranslator.java | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename connector/src/main/java/org/geysermc/connector/network/translators/java/{ => window}/JavaOpenWindowTranslator.java (96%) rename connector/src/main/java/org/geysermc/connector/network/translators/java/{ => window}/JavaSetSlotTranslator.java (97%) rename connector/src/main/java/org/geysermc/connector/network/translators/java/{ => window}/JavaWindowItemsTranslator.java (97%) diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/TranslatorsInit.java b/connector/src/main/java/org/geysermc/connector/network/translators/TranslatorsInit.java index c8d921ce7..4357f9f65 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/TranslatorsInit.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/TranslatorsInit.java @@ -63,11 +63,11 @@ import org.geysermc.connector.network.translators.java.entity.JavaEntityTeleport import org.geysermc.connector.network.translators.java.entity.JavaEntityVelocityTranslator; import org.geysermc.connector.network.translators.java.entity.spawn.JavaSpawnExpOrbTranslator; import org.geysermc.connector.network.translators.java.world.JavaNotifyClientTranslator; -import org.geysermc.connector.network.translators.java.JavaOpenWindowTranslator; -import org.geysermc.connector.network.translators.java.JavaSetSlotTranslator; +import org.geysermc.connector.network.translators.java.window.JavaOpenWindowTranslator; +import org.geysermc.connector.network.translators.java.window.JavaSetSlotTranslator; import org.geysermc.connector.network.translators.java.JavaTitleTranslator; import org.geysermc.connector.network.translators.java.world.JavaUpdateTimeTranslator; -import org.geysermc.connector.network.translators.java.JavaWindowItemsTranslator; +import org.geysermc.connector.network.translators.java.window.JavaWindowItemsTranslator; import java.io.ByteArrayOutputStream; import java.io.IOException; diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/java/JavaOpenWindowTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/java/window/JavaOpenWindowTranslator.java similarity index 96% rename from connector/src/main/java/org/geysermc/connector/network/translators/java/JavaOpenWindowTranslator.java rename to connector/src/main/java/org/geysermc/connector/network/translators/java/window/JavaOpenWindowTranslator.java index a2049e62c..b5e0447c4 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/java/JavaOpenWindowTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/java/window/JavaOpenWindowTranslator.java @@ -23,7 +23,7 @@ * @link https://github.com/GeyserMC/Geyser */ -package org.geysermc.connector.network.translators.java; +package org.geysermc.connector.network.translators.java.window; import com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerOpenWindowPacket; import org.geysermc.connector.network.session.GeyserSession; diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/java/JavaSetSlotTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/java/window/JavaSetSlotTranslator.java similarity index 97% rename from connector/src/main/java/org/geysermc/connector/network/translators/java/JavaSetSlotTranslator.java rename to connector/src/main/java/org/geysermc/connector/network/translators/java/window/JavaSetSlotTranslator.java index fb643e2c4..eca93a88f 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/java/JavaSetSlotTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/java/window/JavaSetSlotTranslator.java @@ -23,7 +23,7 @@ * @link https://github.com/GeyserMC/Geyser */ -package org.geysermc.connector.network.translators.java; +package org.geysermc.connector.network.translators.java.window; import com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack; import com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerSetSlotPacket; diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/java/JavaWindowItemsTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/java/window/JavaWindowItemsTranslator.java similarity index 97% rename from connector/src/main/java/org/geysermc/connector/network/translators/java/JavaWindowItemsTranslator.java rename to connector/src/main/java/org/geysermc/connector/network/translators/java/window/JavaWindowItemsTranslator.java index b22a2a476..8f27e0eed 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/java/JavaWindowItemsTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/java/window/JavaWindowItemsTranslator.java @@ -23,7 +23,7 @@ * @link https://github.com/GeyserMC/Geyser */ -package org.geysermc.connector.network.translators.java; +package org.geysermc.connector.network.translators.java.window; import com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerWindowItemsPacket; import org.geysermc.connector.inventory.Inventory;