Fixed or suppressed warnings for rawtypes and unchecked

This commit is contained in:
mezz committed 2014-09-21 01:52:57 -07:00
1 parent d314642d77
commit 2ae2cf8896
27 files changed
+54 -40

No files matched your search

@@ -65,7 +65,8 @@ public class BeekeepingLogic implements IBeekeepingLogic {
nbttagcompound.setInteger("BreedingTime", breedingTime);
nbttagcompound.setInteger("Throttle", throttle);
Stack<ItemStack> spawnCopy = (Stack)spawn.clone();
Stack<ItemStack> spawnCopy = new Stack<ItemStack>();
spawnCopy.addAll(spawn);
NBTTagList nbttaglist = new NBTTagList();
while (!spawnCopy.isEmpty()) {
NBTTagCompound nbttagcompound1 = new NBTTagCompound();