diff --git a/pom.xml b/pom.xml
index 5f6fc43..8cb4638 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
se.crafted.chrisb
ecoCreature
ecoCreature
- 0.3.2-SNAPSHOT
+ 0.3.3-SNAPSHOT
Player vs. Monster/Enemy Rewards
http://dev.bukkit.org/server-mods/ecocreature/
2011
@@ -16,7 +16,7 @@
UTF-8
- 1.9.4-R0.1-SNAPSHOT
+ 1.10-R0.1-SNAPSHOT
1.5
2015
diff --git a/src/main/java/se/crafted/chrisb/ecoCreature/commons/ItemUtils.java b/src/main/java/se/crafted/chrisb/ecoCreature/commons/ItemUtils.java
index 5bee1a4..ad86ed3 100644
--- a/src/main/java/se/crafted/chrisb/ecoCreature/commons/ItemUtils.java
+++ b/src/main/java/se/crafted/chrisb/ecoCreature/commons/ItemUtils.java
@@ -21,9 +21,9 @@
import java.lang.reflect.Field;
-import net.minecraft.server.v1_9_R2.NBTTagCompound;
+import net.minecraft.server.v1_10_R1.NBTTagCompound;
-import org.bukkit.craftbukkit.v1_9_R2.inventory.CraftItemStack;
+import org.bukkit.craftbukkit.v1_10_R1.inventory.CraftItemStack;
import org.bukkit.inventory.ItemStack;
public final class ItemUtils
@@ -60,7 +60,7 @@ private static NBTTagCompound getTag(ItemStack item)
try {
Field field = CraftItemStack.class.getDeclaredField("handle");
field.setAccessible(true);
- return ((net.minecraft.server.v1_9_R2.ItemStack) field.get(item)).getTag();
+ return ((net.minecraft.server.v1_10_R1.ItemStack) field.get(item)).getTag();
}
catch (Exception ignored) {
}
@@ -72,11 +72,11 @@ private static ItemStack setTag(ItemStack item, NBTTagCompound tag)
{
CraftItemStack cItem = item instanceof CraftItemStack ? (CraftItemStack) item : CraftItemStack.asCraftCopy(item);
- net.minecraft.server.v1_9_R2.ItemStack nmsItem = null;
+ net.minecraft.server.v1_10_R1.ItemStack nmsItem = null;
try {
Field field = CraftItemStack.class.getDeclaredField("handle");
field.setAccessible(true);
- nmsItem = (net.minecraft.server.v1_9_R2.ItemStack) field.get(item);
+ nmsItem = (net.minecraft.server.v1_10_R1.ItemStack) field.get(item);
}
catch (Exception ignored) {
}