Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 12:30:06 +01:00
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.
Dieser Commit ist enthalten in:
Ursprung
d7307859fa
Commit
16ab69f11b
@ -1,16 +1,16 @@
|
||||
From 459f653fc31bb56279122a2cee50f0e46e9bf37f Mon Sep 17 00:00:00 2001
|
||||
From cf879d7842c571b6c0ce3918a4619aa4f7247650 Mon Sep 17 00:00:00 2001
|
||||
From: Techcable <Techcable@outlook.com>
|
||||
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;
|
||||
|
@ -1,18 +1,18 @@
|
||||
From 510ff3ce75e0325b382a61cc39685df8482cdf24 Mon Sep 17 00:00:00 2001
|
||||
From c43de820b2e0a4656f0286bbad15c20296c594a2 Mon Sep 17 00:00:00 2001
|
||||
From: Techcable <Techcable@outlook.com>
|
||||
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 {
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren