This commit is contained in:
Robin Kupper committed 2011-06-10 14:20:34 +02:00
1 parent 75b4ce7894
commit 574972958a
4 files changed
+8 -31

No files matched your search

+1 -3
View File
@@ -143,9 +143,7 @@ public class BukkitUtils
}
public static byte rawData(ItemStack item) {
if (item.getData() == null)
return 0;
return item.getData().getData();
return item.getData() != null ? item.getData().getData() : 0;
}
public static class ItemStackComparator implements Comparator<ItemStack>