diff --git a/paper-api/src/main/java/org/bukkit/event/player/PlayerInteractEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerInteractEvent.java index 5e52f4dc26..759aaa9351 100644 --- a/paper-api/src/main/java/org/bukkit/event/player/PlayerInteractEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/player/PlayerInteractEvent.java @@ -241,6 +241,9 @@ public class PlayerInteractEvent extends PlayerEvent implements Cancellable { @Nullable @Deprecated // Paper public Vector getClickedPosition() { + if (this.clickedPosistion == null) { + return null; + } return clickedPosistion.clone(); }