From ff6ceb109499917cea7fb94a2a0ca50601bb8fa9 Mon Sep 17 00:00:00 2001 From: Allink <44676012+allinkdev@users.noreply.github.com> Date: Tue, 5 Jul 2022 17:00:19 +0100 Subject: [PATCH] Add spectator teleport event (#27) (#30) --- patches/api/0002-Add-spectator-teleport-event.patch | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/patches/api/0002-Add-spectator-teleport-event.patch b/patches/api/0002-Add-spectator-teleport-event.patch index 4622e4a..926b9ab 100644 --- a/patches/api/0002-Add-spectator-teleport-event.patch +++ b/patches/api/0002-Add-spectator-teleport-event.patch @@ -6,10 +6,10 @@ Subject: [PATCH] Add spectator teleport event diff --git a/src/main/java/com/github/atlasmediagroup/scissors/event/player/SpectatorTeleportEvent.java b/src/main/java/com/github/atlasmediagroup/scissors/event/player/SpectatorTeleportEvent.java new file mode 100644 -index 0000000000000000000000000000000000000000..6941549c8f15177569f9ce7243b73255c7c5988e +index 0000000000000000000000000000000000000000..504f02ac89ea0ed3569cbc4ff67292041c9f408e --- /dev/null +++ b/src/main/java/com/github/atlasmediagroup/scissors/event/player/SpectatorTeleportEvent.java -@@ -0,0 +1,61 @@ +@@ -0,0 +1,60 @@ +package com.github.atlasmediagroup.scissors.event.player; + +import org.bukkit.entity.Entity; @@ -31,7 +31,6 @@ index 0000000000000000000000000000000000000000..6941549c8f15177569f9ce7243b73255 + + public SpectatorTeleportEvent(@NotNull Player player, @NotNull Entity target) + { -+ System.out.println("[DEBUG] Spectator teleport event called!"); + this.player = player; + this.target = target; + }