diff --git a/pom.xml b/pom.xml
index f4d74aa..bd4f300 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
nu.nerd
KitchenSink
- 0.8.2
+ 0.9.0
jar
KitchenSink
@@ -33,13 +33,13 @@
org.bukkit
bukkit
- 1.7.10-R0.1-SNAPSHOT
+ 1.8-R0.1-SNAPSHOT
jar
org.bukkit
craftbukkit
- 1.7.10-R0.1-SNAPSHOT
+ 1.8-R0.1-SNAPSHOT
de.bananaco
@@ -55,10 +55,18 @@
com.comphenix.protocol
ProtocolLib
- 3.4.0
+ 3.6.3-SNAPSHOT
+
+ spigot-repo
+ https://hub.spigotmc.org/nexus/content/groups/public/
+
+
+ shadowvolt-repo
+ http://ci.shadowvolt.com/plugin/repository/everything/
+
thezomg-repo
http://maven.thezomg.com/content/groups/public/
diff --git a/src/nu/nerd/kitchensink/KitchenSink.java b/src/nu/nerd/kitchensink/KitchenSink.java
index a649526..eb8ee26 100644
--- a/src/nu/nerd/kitchensink/KitchenSink.java
+++ b/src/nu/nerd/kitchensink/KitchenSink.java
@@ -16,7 +16,7 @@
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.configuration.file.YamlConfiguration;
-import org.bukkit.craftbukkit.v1_7_R4.CraftWorld;
+import org.bukkit.craftbukkit.v1_8_R1.CraftWorld;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.entity.Boat;
import org.bukkit.entity.EntityType;
diff --git a/src/nu/nerd/kitchensink/KitchenSinkListener.java b/src/nu/nerd/kitchensink/KitchenSinkListener.java
index ee953f0..54770df 100644
--- a/src/nu/nerd/kitchensink/KitchenSinkListener.java
+++ b/src/nu/nerd/kitchensink/KitchenSinkListener.java
@@ -4,15 +4,15 @@
import java.util.*;
import java.util.Map.Entry;
-import net.minecraft.server.v1_7_R4.MovingObjectPosition;
-import net.minecraft.server.v1_7_R4.Vec3D;
-import net.minecraft.server.v1_7_R4.EntityArrow;
+import net.minecraft.server.v1_8_R1.MovingObjectPosition;
+import net.minecraft.server.v1_8_R1.Vec3D;
+import net.minecraft.server.v1_8_R1.EntityArrow;
import org.bukkit.*;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.block.NoteBlock;
-import org.bukkit.craftbukkit.v1_7_R4.entity.CraftArrow;
+import org.bukkit.craftbukkit.v1_8_R1.entity.CraftArrow;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.entity.Ageable;
import org.bukkit.entity.Entity;
@@ -417,8 +417,8 @@ public void onProjectileHit(ProjectileHitEvent event) {
EntityArrow arrow = ((CraftArrow) event.getEntity()).getHandle();
- Vec3D v0 = Vec3D.a(arrow.locX, arrow.locY, arrow.locZ);
- Vec3D v1 = Vec3D.a(arrow.locX + arrow.motX, arrow.locY + arrow.motY, arrow.locZ + arrow.motZ);
+ Vec3D v0 = new Vec3D(arrow.locX, arrow.locY, arrow.locZ);
+ Vec3D v1 = new Vec3D(arrow.locX + arrow.motX, arrow.locY + arrow.motY, arrow.locZ + arrow.motZ);
MovingObjectPosition pos = arrow.world.rayTrace(v0, v1, false, true, false);
// Checking if the block hit by the arrow is TNT is inaccurate,