Fix missing annotations on EntityMoveEvent

This commit is contained in:
William Blake Galbreath
2020-02-12 21:31:58 -06:00
parent 023f7cec60
commit d0fa118d91

View File

@@ -1,4 +1,4 @@
From c8895cdec932bd5f7b76b911cd0b18d3000e616b Mon Sep 17 00:00:00 2001
From 5c6a41619b0385514e2540103dbdf89f3012cfb2 Mon Sep 17 00:00:00 2001
From: William Blake Galbreath <Blake.Galbreath@GMail.com>
Date: Tue, 11 Feb 2020 21:56:38 -0600
Subject: [PATCH] Implement EntityMoveEvent
@@ -10,7 +10,7 @@ Subject: [PATCH] Implement EntityMoveEvent
diff --git a/src/main/java/net/pl3x/purpur/event/entity/EntityMoveEvent.java b/src/main/java/net/pl3x/purpur/event/entity/EntityMoveEvent.java
new file mode 100644
index 00000000..4aff85b3
index 00000000..c48c525b
--- /dev/null
+++ b/src/main/java/net/pl3x/purpur/event/entity/EntityMoveEvent.java
@@ -0,0 +1,95 @@
@@ -33,7 +33,7 @@ index 00000000..4aff85b3
+ private Location from;
+ private Location to;
+
+ public EntityMoveEvent(@NotNull LivingEntity entity, Location from, Location to) {
+ public EntityMoveEvent(@NotNull LivingEntity entity, @NotNull Location from, @NotNull Location to) {
+ super(entity);
+ this.from = from;
+ this.to = to;