From 3431c02194a6944b07fdb75e84f0fa15aa9a4d15 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sun, 8 Nov 2020 09:38:31 +0100 Subject: [PATCH] Add Arrow Persistent --- src/de/steamwar/spectatesystem/listener/PlayerSeatListener.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/steamwar/spectatesystem/listener/PlayerSeatListener.java b/src/de/steamwar/spectatesystem/listener/PlayerSeatListener.java index d64500b..8b9183d 100644 --- a/src/de/steamwar/spectatesystem/listener/PlayerSeatListener.java +++ b/src/de/steamwar/spectatesystem/listener/PlayerSeatListener.java @@ -53,6 +53,7 @@ public class PlayerSeatListener extends BasicListener { arrow.setGravity(false); arrow.setPickupStatus(AbstractArrow.PickupStatus.DISALLOWED); arrow.addPassenger(event.getPlayer()); + arrow.setPersistent(true); } @EventHandler