From 16ab69f11bad1a88d4f74d2f276a6a1e48a8d2f7 Mon Sep 17 00:00:00 2001 From: Byteflux Date: Thu, 23 Jul 2015 09:56:24 -0700 Subject: [PATCH] Fix package naming of PaperSpigot events to be consistent with Bukkit/Spigot Right now this only affects the recently added PlayerMicroMoveEvent. I figured this should be done to keep the events organized in the same way Bukkit and Spigot do. This should lead to a less cluttered event package when we do add more events. --- Spigot-API-Patches/0012-Add-PlayerMicroMoveEvent.patch | 10 +++++----- .../0068-Add-PlayerMicroMoveEvent.patch | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Spigot-API-Patches/0012-Add-PlayerMicroMoveEvent.patch b/Spigot-API-Patches/0012-Add-PlayerMicroMoveEvent.patch index b4386b6f69..967ec2ddb2 100644 --- a/Spigot-API-Patches/0012-Add-PlayerMicroMoveEvent.patch +++ b/Spigot-API-Patches/0012-Add-PlayerMicroMoveEvent.patch @@ -1,16 +1,16 @@ -From 459f653fc31bb56279122a2cee50f0e46e9bf37f Mon Sep 17 00:00:00 2001 +From cf879d7842c571b6c0ce3918a4619aa4f7247650 Mon Sep 17 00:00:00 2001 From: Techcable Date: Thu, 23 Jul 2015 03:19:57 -0700 Subject: [PATCH] Add PlayerMicroMoveEvent -diff --git a/src/main/java/org/github/paperspigot/event/PlayerMicroMoveEvent.java b/src/main/java/org/github/paperspigot/event/PlayerMicroMoveEvent.java +diff --git a/src/main/java/org/github/paperspigot/event/player/PlayerMicroMoveEvent.java b/src/main/java/org/github/paperspigot/event/player/PlayerMicroMoveEvent.java new file mode 100644 -index 0000000..e57a377 +index 0000000..65b56d8 --- /dev/null -+++ b/src/main/java/org/github/paperspigot/event/PlayerMicroMoveEvent.java ++++ b/src/main/java/org/github/paperspigot/event/player/PlayerMicroMoveEvent.java @@ -0,0 +1,32 @@ -+package org.github.paperspigot.event; ++package org.github.paperspigot.event.player; + +import org.bukkit.Location; +import org.bukkit.entity.Player; diff --git a/Spigot-Server-Patches/0068-Add-PlayerMicroMoveEvent.patch b/Spigot-Server-Patches/0068-Add-PlayerMicroMoveEvent.patch index f6b8676eff..5a3564c86e 100644 --- a/Spigot-Server-Patches/0068-Add-PlayerMicroMoveEvent.patch +++ b/Spigot-Server-Patches/0068-Add-PlayerMicroMoveEvent.patch @@ -1,18 +1,18 @@ -From 510ff3ce75e0325b382a61cc39685df8482cdf24 Mon Sep 17 00:00:00 2001 +From c43de820b2e0a4656f0286bbad15c20296c594a2 Mon Sep 17 00:00:00 2001 From: Techcable Date: Thu, 23 Jul 2015 04:29:22 -0700 Subject: [PATCH] Add PlayerMicroMoveEvent diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java -index 2c373cd..3fd3f4f 100644 +index 8c87c31..4902635 100644 --- a/src/main/java/net/minecraft/server/PlayerConnection.java +++ b/src/main/java/net/minecraft/server/PlayerConnection.java @@ -62,6 +62,7 @@ import org.bukkit.util.NumberConversions; // CraftBukkit end import org.github.paperspigot.PaperSpigotConfig; // PaperSpigot -+import org.github.paperspigot.event.PlayerMicroMoveEvent; // PaperSpigot ++import org.github.paperspigot.event.player.PlayerMicroMoveEvent; // PaperSpigot public class PlayerConnection implements PacketListenerPlayIn, IUpdatePlayerListBox {