From 0d9a88580eac587060dc705b8b0234bebc445acd Mon Sep 17 00:00:00 2001 From: Freddie Date: Mon, 1 May 2023 11:53:06 +0100 Subject: [PATCH] Use v1_8_R3 server implementation --- pom.xml | 14 ++++---------- .../lol/vera/spigot/handler/IMovementHandler.java | 2 +- .../lol/vera/spigot/handler/IPacketHandler.java | 4 ++-- 3 files changed, 7 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index 7a67ec1..a529f38 100644 --- a/pom.xml +++ b/pom.xml @@ -23,17 +23,11 @@ - org.spigotmc - spigot-api - 1.8.8-R0.1-SNAPSHOT - provided - - - org.spigotmc - minecraft-server - 1.8.8-SNAPSHOT - provided + com.github.azbh111 + spigot-1.8.8 + R + org.projectlombok lombok diff --git a/src/main/java/lol/vera/spigot/handler/IMovementHandler.java b/src/main/java/lol/vera/spigot/handler/IMovementHandler.java index af83541..64377b6 100644 --- a/src/main/java/lol/vera/spigot/handler/IMovementHandler.java +++ b/src/main/java/lol/vera/spigot/handler/IMovementHandler.java @@ -1,6 +1,6 @@ package lol.vera.spigot.handler; -import net.minecraft.server.PacketPlayInFlying; +import net.minecraft.server.v1_8_R3.PacketPlayInFlying; import org.bukkit.Location; import org.bukkit.entity.Player; diff --git a/src/main/java/lol/vera/spigot/handler/IPacketHandler.java b/src/main/java/lol/vera/spigot/handler/IPacketHandler.java index 024e9e8..aef0bdc 100644 --- a/src/main/java/lol/vera/spigot/handler/IPacketHandler.java +++ b/src/main/java/lol/vera/spigot/handler/IPacketHandler.java @@ -1,7 +1,7 @@ package lol.vera.spigot.handler; -import net.minecraft.server.Packet; -import net.minecraft.server.PlayerConnection; +import net.minecraft.server.v1_8_R3.Packet; +import net.minecraft.server.v1_8_R3.PlayerConnection; public interface IPacketHandler {