From 841fee179ba0df75c41562a4c0261dd0f001dcab Mon Sep 17 00:00:00 2001 From: Shevchik Date: Thu, 19 Dec 2013 00:20:12 +0400 Subject: [PATCH] This allows the arrow to despawn properly --- src/com/cnaude/chairs/Chairs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/cnaude/chairs/Chairs.java b/src/com/cnaude/chairs/Chairs.java index 691120a..ab08bb3 100644 --- a/src/com/cnaude/chairs/Chairs.java +++ b/src/com/cnaude/chairs/Chairs.java @@ -56,7 +56,7 @@ public class Chairs extends JavaPlugin { log = this.getLogger(); try { World world = getServer().getWorlds().get(0); - Arrow arrow = world.spawnArrow(new Location(world, 0, 0, 0), new Vector(0, 0, 0), 0, 0); + Arrow arrow = world.spawnArrow(new Location(world, 0, 0, 0), new Vector(0, 0.1, 0), 0, 0); String arrowclass = arrow.getClass().getName(); Method getHandle; getHandle = arrow.getClass().getDeclaredMethod("getHandle");