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.
This commit is contained in:
Byteflux 2015-07-23 09:56:24 -07:00
parent 2b62b33603
commit c8f3b4ba4f
2 changed files with 4 additions and 4 deletions

View file

@ -4,13 +4,13 @@ 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 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
--- /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 +0,0 @@
+package org.github.paperspigot.event;
+package org.github.paperspigot.event.player;
+
+import org.bukkit.Location;
+import org.bukkit.entity.Player;

View file

@ -12,7 +12,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
// 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 {