diff --git a/libs/craftbukkit188.jar b/libs/craftbukkit188.jar deleted file mode 100644 index 43327c8..0000000 Binary files a/libs/craftbukkit188.jar and /dev/null differ diff --git a/src/com/cnaude/chairs/vehiclearrow/v1_8_R3/CraftChairsArrow.java b/src/com/cnaude/chairs/vehiclearrow/v1_8_R3/CraftChairsArrow.java deleted file mode 100644 index 86768eb..0000000 --- a/src/com/cnaude/chairs/vehiclearrow/v1_8_R3/CraftChairsArrow.java +++ /dev/null @@ -1,39 +0,0 @@ -package com.cnaude.chairs.vehiclearrow.v1_8_R3; - -import net.minecraft.server.v1_8_R3.EntityArrow; - -import org.bukkit.craftbukkit.v1_8_R3.CraftServer; -import org.bukkit.craftbukkit.v1_8_R3.entity.CraftArrow; -import org.bukkit.entity.Entity; -import org.bukkit.entity.Player; -import org.bukkit.entity.Vehicle; - -import com.cnaude.chairs.api.ChairsAPI; - -public class CraftChairsArrow extends CraftArrow implements Vehicle { - - public CraftChairsArrow(CraftServer server, EntityArrow entity) { - super(server, entity); - } - - @Override - public void remove() { - Entity passenger = getPassenger(); - if (passenger != null && passenger instanceof Player) { - if (ChairsAPI.isSitting((Player) passenger)) { - return; - } - } - super.remove(); - } - - @Override - public boolean isGlowing() { - return false; - } - - @Override - public void setGlowing(boolean glowing) { - } - -} diff --git a/src/com/cnaude/chairs/vehiclearrow/v1_8_R3/NMSArrowFactory.java b/src/com/cnaude/chairs/vehiclearrow/v1_8_R3/NMSArrowFactory.java deleted file mode 100644 index 7884a47..0000000 --- a/src/com/cnaude/chairs/vehiclearrow/v1_8_R3/NMSArrowFactory.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.cnaude.chairs.vehiclearrow.v1_8_R3; - -import net.minecraft.server.v1_8_R3.EntityArrow; - -import org.bukkit.Location; -import org.bukkit.craftbukkit.v1_8_R3.CraftWorld; -import org.bukkit.entity.Arrow; - -import com.cnaude.chairs.vehiclearrow.NMSArrowFactoryInterface; - -public class NMSArrowFactory implements NMSArrowFactoryInterface { - - @Override - public Arrow spawnArrow(Location location) { - CraftWorld world = (CraftWorld) location.getWorld(); - EntityArrow arrow = new NMSChairsArrow(world, location); - return (Arrow) arrow.getBukkitEntity(); - } - -} diff --git a/src/com/cnaude/chairs/vehiclearrow/v1_8_R3/NMSChairsArrow.java b/src/com/cnaude/chairs/vehiclearrow/v1_8_R3/NMSChairsArrow.java deleted file mode 100644 index ac17500..0000000 --- a/src/com/cnaude/chairs/vehiclearrow/v1_8_R3/NMSChairsArrow.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.cnaude.chairs.vehiclearrow.v1_8_R3; - -import net.minecraft.server.v1_8_R3.EntityArrow; - -import org.bukkit.Bukkit; -import org.bukkit.Location; -import org.bukkit.craftbukkit.v1_8_R3.CraftServer; -import org.bukkit.craftbukkit.v1_8_R3.CraftWorld; - -public class NMSChairsArrow extends EntityArrow { - - public NMSChairsArrow(CraftWorld cworld, Location location) { - super(cworld.getHandle()); - setPositionRotation(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch()); - world.addEntity(this); - bukkitEntity = new CraftChairsArrow((CraftServer) Bukkit.getServer(), this); - } - - @Override - public void t_() { - } - -}