More more work

This commit is contained in:
Nassim Jahnke
2021-06-12 13:18:01 +02:00
parent d937034264
commit 3f41a42781
34 changed files with 301 additions and 245 deletions

View File

@@ -15,11 +15,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ private boolean flyAtPlayer = true; // Paper
private boolean cancel = false;
private final int remaining;
@@ -0,0 +0,0 @@ public class PlayerPickupItemEvent extends PlayerEvent implements Cancellable {
return remaining;
}
+ // Paper Start
+ /**
+ * Set if the item will fly at the player
@@ -50,5 +50,5 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
this.cancel = cancel;
+ this.flyAtPlayer = !cancel; // Paper
}
@NotNull